Code Monkey home page Code Monkey logo

Comments (11)

fsouza avatar fsouza commented on July 17, 2024

Since Selenium doesn't support alert, I think it is just impossible :P

from splinter.

fsouza avatar fsouza commented on July 17, 2024

Forget, I didn't know what I was talking about :P

from splinter.

douglascamata avatar douglascamata commented on July 17, 2024

Done.

There are now 2 ways to access alerts and prompts:

with browser.get_alert() as alert:
    alert.do_stuff()

And...

alert = browser.get_alert()
alert.do_stuff()

Everything's documented too, so I'm closing this.

from splinter.

tarsisazevedo avatar tarsisazevedo commented on July 17, 2024

@douglascamata error in chrome tests

from splinter.

douglascamata avatar douglascamata commented on July 17, 2024

I think chrome isn't handling the javascript correctly. Already checked the
code thousand times even with help of good javascripters and it just don't
works in chrome. Maybe it's a selenium issue.
Em 10/04/2011 13:03, "tarsis" <
[email protected]>
escreveu:

error in chrome tests

Reply to this email directly or view it on GitHub:
#50 (comment)

from splinter.

douglascamata avatar douglascamata commented on July 17, 2024

Did some research and figured that Chrome doesn't support alerts. Reorganized the tests, fixed and added docs for this.

from splinter.

douglascamata avatar douglascamata commented on July 17, 2024

Why reopened?

from splinter.

tarsisazevedo avatar tarsisazevedo commented on July 17, 2024

Inconsistent Tests.

And, We think a function to work on alerts like iframes

from splinter.

douglascamata avatar douglascamata commented on July 17, 2024

@tarsis: That function's already there as you can see in my second comment in this issue. About the inconsistence, all the Chrome tests that should raise NotImplementedError are inconsistent. Run the Chrome tests and take a look at those were the test runner suddenly stops... only those expected to raise that exception. It looks like Selenium is having issues with the Chrome webdriver. Maybe we can just skip those tests for a while...

What do you think?

from splinter.

douglascamata avatar douglascamata commented on July 17, 2024

This is fine now? Can I close this issue?

from splinter.

fsouza avatar fsouza commented on July 17, 2024

Since Selenium guys already know the issue on Chrome WebDriver alerts, I'm closing this issue.

from splinter.

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.