Giter Club home page Giter Club logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
I'll investigate and see how much work would be involved for this. The set 
method might be tricky.

Original comment by [email protected] on 24 Feb 2012 at 4:36

  • Changed state: Started

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
It looks like it shouldn't be too bad. The command seems a bit strange to me 
however. Why does a user ever want to get the geolocation? Is it expected that 
they will always call set before get? If they call get before set, do I have to 
return the real geolocation position or just some phony position?

Original comment by [email protected] on 12 Mar 2012 at 10:03

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Yeah, I don't see why the GET is useful either, but that's how it was designed 
in the Android driver. The main use case is obviously the ability to override 
what a webapp gets back when it asks the browser for location. 

Original comment by jari.bakken on 12 Mar 2012 at 10:36

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Any update on this one ?

Is this already implemented ? How can we set/get the geolocation ?

Original comment by [email protected] on 9 Apr 2012 at 7:50

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
This is not yet implemented. I started a patch a while back but haven't gotten 
back to it yet.

Original comment by [email protected] on 9 Apr 2012 at 8:55

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Will be in ChromeDriver v20 release

Original comment by [email protected] on 22 May 2012 at 5:53

  • Changed state: Resolved

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Very cool to finally have this in a desktop browser.

However, it looks like the current implementation expects a JSON object like 
this:

  {"latitude":40.714353,"longitude":-74.005973,"altitude":0.056747}

but the wire protocol spec (and the Android/iPhone implementations) says it 
should be:

  {"location":{"latitude":40.714353,"longitude":-74.005973,"altitude":0.056747}}


Original comment by jari.bakken on 23 May 2012 at 9:48

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Whoops, I didn't notice that it was wrapped in a location dictionary. I'll fix 
that. I  need to run the Java tests for these.

Original comment by [email protected] on 23 May 2012 at 10:38

  • Changed title: POST geolocation command doesn't obey the spec
  • Changed state: Accepted

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024

Original comment by [email protected] on 15 Jun 2012 at 5:59

  • Changed state: Started

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024

Original comment by [email protected] on 19 Jun 2012 at 4:33

  • Changed state: ToBeReleased

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024

Original comment by [email protected] on 23 Jun 2012 at 2:24

  • Changed state: Resolved

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024

Original comment by [email protected] on 13 Mar 2013 at 11:45

  • Changed state: Closed

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024

Original comment by [email protected] on 21 Feb 2015 at 12:27

  • Changed state: Fixed

from chromedriver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.