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,534 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,724 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,616 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,948 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,962 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,110 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,861 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,645 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,880 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,693 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,615 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,569 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,239 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,759 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,046 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,420 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,501 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
815 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,002 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,910 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,438 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,198 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,474 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,240 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,710 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,268 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,607 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,164 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,832 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,545 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,043 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,914 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,873 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,383 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,845 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,721 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,446 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
885 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,619 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,225 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,357 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,920 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,118 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,470 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,597 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,155 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,664 views
0 votes
2 answers

Handling Combo-Box Drop downs in Selenium

Suggestion: Try to mimic the action with ...READ MORE

May 28, 2019 in Selenium by mary
12,215 views