Trending questions in Selenium

+3 votes
1 answer

How to automate menu box / pop up of right click in python selenium.

You can use keys to do this. ...READ MORE

Aug 9, 2019 in Selenium by Shubham
8,546 views
0 votes
1 answer

Is there any way to get size (height and width) of a textbox using Selenium?

@Nick, you can use following lines of ...READ MORE

May 30, 2019 in Selenium by Raunak
11,732 views
0 votes
1 answer

How to click on Image in Selenium Webdriver?

Hello Lalit, I guess you mean to ...READ MORE

May 9, 2019 in Selenium by Anvi
• 14,150 points
12,620 views
0 votes
1 answer

How to send keyboard input to a textbox on a webpage using python selenium webdriver?

Hey Dominic, you can use sendKeys() method ...READ MORE

Jul 31, 2019 in Selenium by Abha
• 28,140 points
8,960 views
0 votes
2 answers

How to use relative xpath for locating a web-element by particular Attribute?

Xpath=//tagname[@attribute='value'] READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
4,972 views
0 votes
2 answers

What are the benefits of using Selenium as an Automation Testing tool?

There is no rule we have to ...READ MORE

Aug 26, 2020 in Selenium by Sri
• 3,190 points
2,117 views
0 votes
2 answers

How to test React JS dropdown with Selenium and java?

First of all you need to click ...READ MORE

Aug 20, 2019 in Selenium by ghoshPooja
• 140 points
17,869 views
0 votes
2 answers

What are the wait methods which can be used to handle AJAX calls?

Hi , for Ajax call better to use Explicit ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
1,649 views
0 votes
1 answer

How to send ALT/SHIFT/CONTROL key in Selenium WebDriver?

When we generally use ALT/SHIFT/CONTROL keys, we ...READ MORE

Feb 8, 2019 in Selenium by Frankie
• 9,830 points
15,887 views
–1 vote
1 answer

Difference between sleep() and setSpeed() in selenium

Both sleep() and setSpeed() are used to ...READ MORE

Feb 13, 2019 in Selenium by Priyaj
• 58,020 points
15,709 views
0 votes
1 answer

How can I send some data to a Prompt Alert box using Selenium Webdriver?

Hey Abhishek, you can use sendKeys() method ...READ MORE

Jul 3, 2019 in Selenium by Abha
• 28,140 points
9,627 views
0 votes
1 answer

What is the actual conflict while performing click() on web element, and getting an error like element is not clickable at point(x,y)?

Hey @sastry, the error Element is not clickable ...READ MORE

Nov 27, 2019 in Selenium by Sirajul
• 59,230 points
3,574 views
0 votes
1 answer

How to apply wait for new window using Selenium WebDriver?

As sometimes during web automation, when you ...READ MORE

Jul 10, 2019 in Selenium by Vaishali Walia
9,251 views
0 votes
1 answer

Using gettext() method for the specific element using Selenium WebDriver

Mistake is that u r printing the ...READ MORE

Apr 10, 2018 in Selenium by Vardy
• 2,360 points
28,761 views
+1 vote
0 answers

screenshot of a particular element with python selenium in linux [closed]

Taking partial screenshot of a element by ...READ MORE

Jan 21, 2020 in Selenium by anonymous
• 200 points

closed Jan 21, 2020 by Kalgi 635 views
0 votes
3 answers

java.lang.IllegalStateException Error after adding set property webdriver

/* System.setProperty("WebDriver.gecko.driver", "C:\\Users\\DELL\\Desktop\\GeckoDriver1\\geckodriver.exe"); WebDriver driver = new FirefoxDriver(); */ ...READ MORE

May 1, 2019 in Selenium by anonymous
20,049 views
+1 vote
2 answers

I want the screenshot of only a specific element and not the entire page. Is it possible with Selenium Webdriver?

Hey @kappa3010, you can try this. Though ...READ MORE

Dec 31, 2018 in Selenium by Priyaj
• 58,020 points
22,425 views
+2 votes
1 answer

Selenium with C Sharp -- How to perform Explicit Wait method

The explicit wait is used to tell ...READ MORE

Dec 23, 2019 in Selenium by Sirajul
• 59,230 points
1,504 views
+1 vote
0 answers

whats wrong in my code? attached below

package com.sv.selenium; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class SwitchTabs ...READ MORE

Jan 9, 2020 in Selenium by anonymous
• 130 points
819 views
0 votes
1 answer

I am getting error: Element should have been “select” but was “input” using Selenium Webdriver Java

You can Select element by the following ...READ MORE

Jun 27, 2018 in Selenium by Samarpit
• 5,910 points
25,023 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,210 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,914 views
+1 vote
2 answers

How to click button selenium python?

Have you tried using implicit_wait method before getting ...READ MORE

May 27, 2019 in Selenium by Abha
• 28,140 points
10,444 views
0 votes
1 answer

What is the use of invocationcount in TestNG?

Hey Owen, The invocationcount attribute tells how many ...READ MORE

Jun 19, 2019 in Selenium by anonymous
• 28,140 points
9,479 views
0 votes
1 answer

How can I read numeric data from an Excel sheet using Selenium Webdriver?

Hey Jignesh, for reading numeric data from ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
8,250 views
0 votes
1 answer

How to switch different browser tabs using Python Selenium?

Hello Rohan, you can use the following ...READ MORE

Jul 29, 2019 in Selenium by Abha
• 28,140 points

edited Apr 18, 2022 by Sarfaraz 7,713 views
0 votes
3 answers

Clicking on an element in robot framework is not working in IE, but its working fine in Chrome & Firefox

public class SiblingAndParentInXpath { ...READ MORE

Apr 24, 2020 in Selenium by Blazzzinglight
12,288 views
+1 vote
1 answer

How to perform right click on an element and open it a new window using Web Driver?

Hey Karthik, you can perform right click ...READ MORE

Jul 7, 2019 in Selenium by Hansraj
8,620 views
0 votes
1 answer

What is the use of getOptions() method in Selenium?

Hi Urmila, getOptions() is used to get all ...READ MORE

May 31, 2019 in Selenium by Abha
• 28,140 points
10,168 views
0 votes
2 answers

How can I automate the process of adding a product to cart in Flipkart?

Hey @Jino, it was pretty good brain ...READ MORE

Dec 21, 2018 in Selenium by Nabarupa
13,836 views
0 votes
1 answer

How can I install and setup Pytest framework?

Hey Yashmin, follow these steps to install ...READ MORE

Aug 22, 2019 in Selenium by Anvi
• 14,150 points
6,561 views
+4 votes
1 answer

which headless browser automation is good?

To answer your Queries: 1. HTML Unit -  taking ...READ MORE

Nov 29, 2019 in Selenium by Karan
• 19,610 points

edited Nov 29, 2019 by Sirajul 2,048 views
0 votes
1 answer

Is it possible to handle Windows based pop-ups in Selenium?

Hello Rustam, Selenium doesn’t support windows based ...READ MORE

Jun 4, 2019 in Selenium by Priti
9,920 views
+1 vote
0 answers

How to read a table using VB.net and selenium

Hello, I can see the table yet ...READ MORE

Dec 6, 2019 in Selenium by Matt
• 130 points
1,884 views
0 votes
1 answer

How can I pause a text execution in python selenium webdriver?

Hello Ankur, you can use sleep() method ...READ MORE

Jul 31, 2019 in Selenium by Renuka
7,390 views
0 votes
2 answers

How to handle chrome notification in selenium?

Map<String, Object> prefs = new HashMap<String, Object>(); prefs.put("profile.default_content_setting_values.notifications", ...READ MORE

May 4, 2020 in Selenium by Mukti
• 140 points
5,848 views
0 votes
1 answer

How to install firebug in chrome?

FIrebug was a chrome extension that was ...READ MORE

Dec 21, 2018 in Selenium by Shuvodip
16,732 views
0 votes
1 answer

Getting error while running a XML file in TestNG

Hello @Sradha, The synatx of using test is ...READ MORE

Dec 26, 2018 in Selenium by Rashmi
16,459 views
+2 votes
0 answers

not able to get child element using parsed element in js function

I wrote below javascript code to fetch ...READ MORE

Dec 21, 2019 in Selenium by navikasingh
• 140 points
892 views
0 votes
1 answer

What is the difference between WebDriver and RemoteWebdriver in Selenium?

Hey Ishan, the difference between Webdriver and ...READ MORE

May 10, 2019 in Selenium by Pratibha
• 3,690 points
10,621 views
0 votes
2 answers

Unable to Click on an Element in Selenium (Python) even after finding it.

Here, I give you working script which ...READ MORE

Sep 19, 2018 in Selenium by Priyaj
• 58,020 points
24,241 views
0 votes
0 answers

xpath search working on browser[firefox/Chrome] but not on Selenium python script.

Hi Team, I am getting below expception while ...READ MORE

Nov 14, 2019 in Selenium by ashutosh
• 120 points
2,365 views
0 votes
1 answer

How to find size of an element in a webpage with Python Selenium Webdriver?

Hey Fawad, you can use this piece ...READ MORE

Jul 29, 2019 in Selenium by Anvi
• 14,150 points
6,926 views
0 votes
1 answer

How can I locate inline elements from a web page using Selenium Webdriver?

Which specific element you are trying to ...READ MORE

Oct 10, 2019 in Selenium by Abha
• 28,140 points
4,128 views
0 votes
1 answer

How can I handle a Confirmation Alert pop-up using Python Webdriver?

Hey Sudha, you can use following code ...READ MORE

May 28, 2019 in Selenium by George
9,473 views
0 votes
1 answer

How can I automate Menu links of a website and validate page titles? Please help.

You could probably try following these steps ...READ MORE

Nov 29, 2019 in Selenium by Sirajul
• 59,230 points
3,602 views
0 votes
1 answer

How can I fetch value/text from a textbox by using Python Selenium Webdriver?

Hey Jagat, following test script shows how ...READ MORE

Jul 31, 2019 in Selenium by Abha
• 28,140 points
6,675 views
0 votes
1 answer

How can I use Selenium in the background?

Hey there! I would suggest you try using ...READ MORE

Jul 22, 2019 in Selenium by anonymous
7,157 views
0 votes
1 answer

Selenium-Python , find out when a download has completed

There is no built-in to selenium way ...READ MORE

Sep 5, 2018 in Selenium by Meci Matt
• 9,460 points

edited Feb 7, 2020 by Gitika 20,844 views