Skip to content
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

switch_to_alert removal in webbot.py #90

Open
carloalbertogiordano opened this issue Dec 30, 2022 · 0 comments
Open

switch_to_alert removal in webbot.py #90

carloalbertogiordano opened this issue Dec 30, 2022 · 0 comments

Comments

@carloalbertogiordano
Copy link

In webbot.py at line 73 the setattribute searches for switch_to_alert function in selenium. This does not exist any more in more recent versions of selenium as it has been replaced by switch_to.alert. Removing 'switch_to_alert' from the getattribute did not cause any issues in my program, so why is that there? Alternatively can it be replaced by self.switch_to_alert=self.driver.switch_to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant