Comments (13)
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.
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.
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.
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.
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.
Will be in ChromeDriver v20 release
Original comment by [email protected]
on 22 May 2012 at 5:53
- Changed state: Resolved
from chromedriver.
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.
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.
Original comment by [email protected]
on 15 Jun 2012 at 5:59
- Changed state: Started
from chromedriver.
Original comment by [email protected]
on 19 Jun 2012 at 4:33
- Changed state: ToBeReleased
from chromedriver.
Original comment by [email protected]
on 23 Jun 2012 at 2:24
- Changed state: Resolved
from chromedriver.
Original comment by [email protected]
on 13 Mar 2013 at 11:45
- Changed state: Closed
from chromedriver.
Original comment by [email protected]
on 21 Feb 2015 at 12:27
- Changed state: Fixed
from chromedriver.
Related Issues (20)
- Standardise CSS colours to RGBA HOT 6
- how can we not wait for the page has finished loading can continue to execute code after click() method HOT 4
- Can no long pass extensions as Base64 encoder CRX files. HOT 3
- Unexpected error. System.Object when using ImplicitlyWait HOT 4
- Finding element by compound CSS selector fails HOT 6
- SendKeys is slow HOT 7
- Java bindings are slow on linux HOT 5
- Headers names (at least for content-length) are interpreted as case-sensitive HOT 6
- Can't access gmail. HOT 4
- Disable popup blocking by default HOT 7
- Update ChromeOptions to include new ChromeDriver capabilities HOT 13
- close() on Chrome Web Driver causes pipe & channel errors HOT 8
- Chrome webdriver hangs (not reponding to check elements with css location HOT 5
- Chrome webdriver hangs (not reponding to check elements with css location) HOT 1
- ChromeDriver calls to Close() or Quit() crash ChromeDriver.exe HOT 22
- Incorrect rect objects are used in Session::GetClickableLocation method HOT 3
- running javascript crashes chromedriver HOT 5
- chromedriver throwing error for collections(find_elements) Selenium::WebDriver::Error::UnknownError: findElements HOT 28
- Chromedriver.exe stays running and leaves behind scoped_dir HOT 12
- chrome.prefs capability works unreliably
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chromedriver.