Selenium could not able to identify elements while running the application in Edge Chromium Browser

20 views
Skip to first unread message

Veena Tarak

unread,
Jul 1, 2020, 1:48:04 AM7/1/20
to Selenium Users
Hi All,

I am receiving "Return value must be dictionary" while trying to run the selenium script in Edge chromium browser.

getting this error right after the browser lauches.

This issue happens to only my application. same code is working for other web application (like google and gmail)

Could any one let us know what's wrong with my application.

Note: The same working with Chrome browser , seeing this only for Edge Chromium

Joe Ward

unread,
Jul 1, 2020, 2:40:17 AM7/1/20
to seleniu...@googlegroups.com
Without meaning to sound obvious, whatever line you are getting that exception is not returning a dictionary (https://docs.python.org/3/tutorial/datastructures.html#dictionaries). On Google and Gmail it is.

Adding the code you are using will probably help debug the problem further.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8d2789fe-a1fa-47b5-bdc0-214094d8d59co%40googlegroups.com.

Sahil Chaudhary

unread,
Jul 1, 2020, 2:41:57 AM7/1/20
to seleniu...@googlegroups.com
The best thing you can do is to highlight elements before performing any action. 

This will help you to understand whether your script is identifying elements on your application nor not.

For highlighting you can do that with javascript executor.

Thanks
Sahil Chaudhary

--

Veena Tarak

unread,
Jul 1, 2020, 8:11:34 AM7/1/20
to seleniu...@googlegroups.com
No, Its not identifying any elements.

Joe Ward

unread,
Jul 2, 2020, 3:43:53 AM7/2/20
to seleniu...@googlegroups.com
As I said above it’s probably an issue with the page under test and how you are accessing it with code. Providing a sample of what you are doing can help debug further. 

Reply all
Reply to author
Forward
0 new messages