How to handle a popup in selenium webdriver?

Let’s learn how to handle a popup in selenium webdriver. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

How to handle calendar popup using Selenium WebDriver with Java?

How can I select date from a calendar popup like this gender (i.e 24/04/2015 from calendar) using Selenium WebDriver with Java? I have tried this: package com.Automation; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class CalendarPopup { /** * @param args */ public static void main(String[] args) { WebDriver driver = new FirefoxDriver(); driver.get("http://www.yatra.com/"); driver.findElement(By.id("...

Answer:

You can click a day by selecting it from its id and then click on it driver.findElement(By.id('a_20...

Read more

Deepak gupta at Stack Overflow Mark as irrelevant Undo

Other solutions

What are the ways to handle self signed certificate error in IE8 using Selenium Webdriver + Java?

I am literally stuck to this problem for two days now. Scenario: The website that needs to be tested has a self signed certificate. So Internet Explorer (8 in windows XP_ shows "The security certificate presented by this website was not issued by...

Answer:

I wrote up an article of how to do this with Selenium RC: How to Accept Self-Signed SSL Certificates...

Read more

Kevin Menard at Quora Mark as irrelevant Undo

Does selenium webdriver possess the capability to select only the images which is not spacer images .?

Does selenium webdriver possess the capability to select only the images which is not spacer images . ?

Answer:

Find out. Try different locator strategies to find "spacer images", and if none of those work...

Read more

Frisco Del Rosario at Quora Mark as irrelevant Undo

What is a good alternative to android webDriver (Selenium)?

I'd like to use something like selenium to scrape data from dynamically loaded webpages in my android app. I hope one day to deploy my app to the google play store, but after reading about selenium, it seems like it only runs when you have the server...

Answer:

You may even try using robotium.

Read more

Mayur Shah at Quora Mark as irrelevant Undo

Software Testing: What programming language has the best WebDriver/Selenium bindings?

Do some programming languages cover the shortfalls of others when it comes to browser automation?  What language would an advanced beginner commit to learning if they really wanted the most bang for their buck when it comes to Webdriver testing?

Answer:

Obviously it is JAVA http://selenium.googlecode.com/s...

Read more

Anonymous at Quora Mark as irrelevant Undo

What's the going salary for Test Automation Engineer with several years of Selenium-Webdriver and Java experience?

I'm just curious. Not looking to leave my current position but I was wondering what others make in this relatively new career. I'm a proficient java developer and a growing expert in Selenium. I make 80K a year currently.

Answer:

It would depend on the company that is hiring because Product companies tend to pay higher than traditional...

Read more

Anonymous at Quora Mark as irrelevant Undo

Why am I not able to login to Quora using an automation package like Selenium or FireWatir?

I am able to login into Facebook and other websites ? from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Firefox() driver.get("https://www.quora.com/") elem = driver.find_element_by_name("...

Answer:

I dont know where are you having problem ?? This code works for me ! from selenium import webdriver...

Read more

Gaurav Jain at Quora Mark as irrelevant Undo

how can i permanently block these annoying messenger popup windows? my popup blocker can't handle them

the ones that appear in the bottom right corner above the task bar or scrolling down the right side of the screen. Uploaded with ImageShack.us

Answer:

When you do not sign in into your messenger nothing happens. I sign in only when I want to chat and...

Read more

Defective_Brain at Answerbag.com Mark as irrelevant Undo

What can be the best design strategy to follow for designing an automation frame work for a Web App using webdriver (python)?

I have been given a task of automating an enterprise website. I am starting the project from scratch. I have zeroed in on using Selenium WebDriver with Python for this. Since last few days i am going through various blogs on the internet suggesting to...

Answer:

I recently designed a few of these "frameworks" for various projects. They are much more effective...

Read more

Martin Gollogly at Quora Mark as irrelevant Undo

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.