Giter Site home page Giter Site logo

Comments (17)

questjay avatar questjay commented on June 30, 2024 20

@rpgraham just pip uninstall selenium to uninstall then pip install selenium==3.141.0 remember you have to uninstall to undergrade.

from webbot.

questjay avatar questjay commented on June 30, 2024 9

'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.

jpreed00 avatar jpreed00 commented on June 30, 2024 5

I'm seeing this error too. Did you ever find any resolution or figure out the cause?

from webbot.

Raksh710 avatar Raksh710 commented on June 30, 2024 4

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.

rpgraham avatar rpgraham commented on June 30, 2024 2

Thanks so much! That took care of it.

from webbot.

DillonB07 avatar DillonB07 commented on June 30, 2024 1

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.

questjay avatar questjay commented on June 30, 2024

me too

from webbot.

decodar avatar decodar commented on June 30, 2024

from webbot.

herlandio avatar herlandio commented on June 30, 2024

it's work

from webbot.

rpgraham avatar rpgraham commented on June 30, 2024

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.

DillonB07 avatar DillonB07 commented on June 30, 2024

Solved in #80 !

Installing webbot again should fix everything!

from webbot.

Pallav2905-py avatar Pallav2905-py commented on June 30, 2024

Thanks, it worked for me <3

@rpgraham just pip uninstall selenium to uninstall then pip install selenium==3.141.0 remember you have to uninstall to undergrade.

from webbot.

Leberworschd avatar Leberworschd commented on June 30, 2024

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.

pedrobritobr avatar pedrobritobr commented on June 30, 2024

@rpgraham just pip uninstall selenium to uninstall then pip install selenium==3.141.0 remember you have to uninstall to undergrade.

Works for me, thanks!

from webbot.

Ezema avatar Ezema commented on June 30, 2024

@rpgraham just pip uninstall selenium to uninstall then pip install selenium==3.141.0 remember you have to uninstall to undergrade.

Thanks!!

from webbot.

lulucandy-us avatar lulucandy-us commented on June 30, 2024

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.

 avatar commented on June 30, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.