Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7753907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T12:10:21+00:00 2026-06-01T12:10:21+00:00

How to stop the selenium server until a popup opens? We have selenium.waitForPageToLoad to

  • 0

How to stop the selenium server until a popup opens?

We have selenium.waitForPageToLoad to stop the server until the Page Loads. But is there any way to stop it for Popup?

I tried it with selenium.WaitForPopup, but I can’t find popup id. Because I created a popup box with div element(whose id is popup_container).

And I tried the following code:

selenium.WaitForPopUp("id=popup_container", "30000");

But that doesn’t work. Any help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T12:10:22+00:00Added an answer on June 1, 2026 at 12:10 pm

    Your ‘popup’ is not actually a popup, it’s just a div tag. So you want to wait until that element (div tag) is present. There is a method to check if the element is present:

    selenium.IsElementPresent(div_of_the_popup)
    

    You can loop checking until the element is present or a certain time expires. You can see sample loops at this other question/answer.

    The later versions of Selenium, do include methods for doing the wait for element. Ultimately, the key to your problem is waiting for the DIV not a popup.

    UPDATE: Based on your other posts, it looks like you are using Selenium-Webdriver. If so, then you can use the example from the selenium web page for explicit waits

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to google, but there are many different ways to work with Selenium.
I have written an Ant target that starts Selenium server, runs my test code,
How can I automatically start and stop the Selenium RC server when I run
The stop executable dialog that comes up every time I have an app already
Please stop me if i am doing something wrong. It works but somehow it
How do I stop Google's popup message that shows up upon hovering over the
I have to test few sites which sales the same things, but they have
This I have found on the net in various places but with no actual
How do I stop aList from flowing into sumIs? I've tried a couple of
Stop running this script? A script on this page is causing Internet Explorer to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.