-
I am currently writing a program in Python which uses a Seleniumbase web bot, however, during the running of the program, I am encountering a mysterious error. Some of the code is as follows:
At the part that says FAILS HERE, the following error occurs:
Does anybody know the reason for this error? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
You spun up a new driver using Also looks like some import parts are missing (failure was on line 315, but you didn't show that many lines). |
Beta Was this translation helpful? Give feedback.
You spun up a new driver using
sb.get_new_driver()
, which changed the default driver, however...it looks like you didn't activate CDP Mode with the newer driver, so it doesn't have the CDP Mode methods.
Also looks like some import parts are missing (failure was on line 315, but you didn't show that many lines).
A minimal, self-contained code block to reproduce the issue would be more helpful in the future.