Comments (17)
@rpgraham just pip uninstall selenium
to uninstall then pip install selenium==3.141.0
remember you have to uninstall to undergrade.
from webbot.
'switch_to_alert'
I'm seeing this error too. Did you ever find any resolution or figure out the cause?
webbot uses selenium on new version of selenium >= "4.0.0" doen't support 'switch_to_alert' and webbot is not upgraded to new selenium so the solution is to undergrade to selenium == "3.141.0" that will work..
from webbot.
I'm seeing this error too. Did you ever find any resolution or figure out the cause?
from webbot.
In the latest version of selenium (I downloaded it the day before yesterday i.e. June 4, 2022), you can try using this:
alert = driver.switch_to.alert
alert.accept()
from webbot.
Thanks so much! That took care of it.
from webbot.
webbot uses selenium on new version of selenium >= "4.0.0" doen't support 'switch_to_alert' and webbot is not upgraded to new selenium so the solution is to undergrade to selenium == "3.141.0" that will work..
Thanks, that made it work for me!
from webbot.
me too
from webbot.
from webbot.
it's work
from webbot.
I have the same issue with webbot and selenium 4.0.0 on a new Mac; but I don't know how to undergrade to selenium 3.141.0. Can you give me some tips?
from webbot.
Solved in #80 !
Installing webbot again should fix everything!
from webbot.
Thanks, it worked for me <3
@rpgraham just
pip uninstall selenium
to uninstall thenpip install selenium==3.141.0
remember you have to uninstall to undergrade.
from webbot.
Thanks a lot! I was already frustrated. This worked!!!
@rpgraham just pip uninstall selenium to uninstall then pip install selenium==3.141.0 remember you have to uninstall to undergrade.
from webbot.
@rpgraham just
pip uninstall selenium
to uninstall thenpip install selenium==3.141.0
remember you have to uninstall to undergrade.
Works for me, thanks!
from webbot.
@rpgraham just pip uninstall selenium to uninstall then pip install selenium==3.141.0 remember you have to uninstall to undergrade.
Thanks!!
from webbot.
I have the same problem. I followed the uninstall and install commands to undergrade the selenium to 3.141.0, however the error still there. the version of my webbot is 0.34. Any other thing need to take care? Does it also relevant to the chromedriver version? My Chrome and ChromeDriver version are 101
from webbot.
@Raksh710 I am trying this code
from webbot import Browser
web = Browser() and when I added driver.switch_to.alert it says driver not found
from webbot.
Related Issues (20)
- Premission denied [WinError 5] HOT 1
- Please add functionality to change binary location HOT 1
- cannot find Chrome binary HOT 12
- showWindow documentation incorrect / flipped around
- Error running on AWS lambda.
- How to perform right click using webbot HOT 3
- Webbot is not working on linux(parrot) HOT 3
- Chrome processes stay open after usage HOT 2
- How to change browser to firefox? HOT 3
- where is version 0.1.4 ? HOT 1
- New Issue 2022
- session not created exception: Missing or invalid capabilities HOT 3
- Traceback and cannot find Chrome binary
- Error about Selenium version HOT 1
- Cannot Run In VSCode
- web.go_to('siteurl.com') kills webbot
- switch_to_alert removal in webbot.py
- Incorrect error check?
- Web = Browser() , Error HOT 6
- When I try to do web = Browser() I get this error: ValueError: Timeout value connect was <object object at 0x00000277138947B0>, but it must be an int, float or None. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webbot.