-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
find_element returning dictionary instead of WebElement in python-selenium #96
Comments
I have the latest Opera version 81.0.4196.37, webdriver version 95.0.4638.54, and suffering the same issue. According to this page: What Is New In Selenium 4 And What Is Deprecated In It?
See v4.0.0-alpha.1 A similar issue was also raised on the Selenium Github, though it has been closed there: [🐛 Bug]: FIND_ELEMENT command return a dict object value #9978 , Also bug #10025. |
Hi, using Selenium 4.0.0 with the latest operadriver v.96.0.4664.45 (Opera 82) try to apply additional option Here is a snippet for Python:
|
Hello there sir, I'm currently using Selenium 4.1.3 with the latest opera driver v.99.0.4844.51 (Opera 85). I was getting |
The right way to use Opera in Selenium 4.2+ is to use See relevant language examples here: The lack of updates to this project and not getting a response to issue #88 led us to choose to remove direct support. Chromedriver will successfully drive Opera in the required protocol. |
Found a solution unexpectedly by comparing java and dotnet implementation and documentation on selenium.dev.
Hope this would help to somebody else =) I'm working now on integration of these actions into the Aquality.Selenium nuget package, you can check out our solution - we have cross-browser support with easy json configuration. Template project is located here: https://github.com/aquality-automation/aquality-selenium-dotnet-template |
Tested with geckodriver and chromedriver, only happens with operadriver.
Requested url: https://ifconfig.me
Code:
driver.find_element("id", "ip_address")
Return:
{'ELEMENT': '0.9986878751861266-1'}
The value for
ELEMENT
always changes.Selenium:
4.0.0
Opera:
80.0.4170.40
Operadriver:
94.0.4606.61
OS: Arch Linux
The text was updated successfully, but these errors were encountered: