sclevine / agouti

A WebDriver client and acceptance testing library for Go
MIT License
822 stars 105 forks source link

Support w3c elements #183

Closed calebdoxsey closed 5 years ago

calebdoxsey commented 5 years ago

Elements can be returned via ELEMENT or element-6066-11e4-a52e-4f735466cecf. This updates the code to support either.

You can see an example in the python driver here: https://github.com/SeleniumHQ/selenium/blob/eb4a3c475c10ef0c7d65dce45fa179ce2c109e5d/py/selenium/webdriver/remote/webdriver.py#L282

I noticed this issue attempting to run tests against macos/safari on sauce labs.

calebdoxsey commented 5 years ago

Thanks!