Answer the question
In order to leave comments, you need to log in
Why does python selenium write that there is no element although it exists?
There is a site, I need to parse the data (circled in the screenshot), I use selenium, I go to the online casino, then to baccarat (playing with cards), I choose one game, everything starts, the script works, but when the game loads, selenium does not see a single element. I tried to save html, saves not all html code, and mouse imitation. But when an error appears that the element was not found, I go to the open browser window that Selenium opened, and when examining the page code, all the elements that I need are present. So the question is whether there can be some kind of protection against automation and is it possible to bypass it?
PS headers, user agents changed, also turned off the parameter that indicates that the browser is controlled by selenium, everything is useless.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question