Trending questions in Selenium

+2 votes
1 answer

How to fetch the text of a web element where the text is split in 2 lines?

Hello, You want to use a non-breaking space ...READ MORE

May 28, 2020 in Selenium by Niroj
• 82,800 points
5,425 views
+1 vote
0 answers

Want to rotate image infinite on active webpage using java and selenium

Hi I need to rotate image infinite ...READ MORE

Aug 28, 2020 in Selenium by mfarooq
• 130 points
1,493 views
+1 vote
1 answer

Python + Selenium | How to locate elements in span class & not unique ID

I use the following code to check ...READ MORE

Jan 2, 2020 in Selenium by Karan
11,682 views
0 votes
1 answer

How can I perform mouse hover action in Selenium-Python?

Hey Payal, use the code snippet shown ...READ MORE

Jul 24, 2019 in Selenium by Abha
• 28,140 points
18,706 views
0 votes
1 answer

Getting error NoClassDeffound error while exceuting selenium script(created with maven) , please help me to resolve this

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap at org.openqa.selenium.remote.service.DriverService$Builder.<init>(DriverService.java:259) at ...READ MORE

Apr 20, 2020 in Selenium by celine
7,861 views
0 votes
0 answers

How to do DataDriven testing in specflow api

How to do DataDriven testing in specflow ...READ MORE

Aug 15, 2020 in Selenium by Sri
• 3,190 points
1,758 views
+1 vote
0 answers

How to use MSTest Annotations in specflow c#

Hi , Am using Specflow +Mstest . How ...READ MORE

Aug 15, 2020 in Selenium by Sri
• 3,190 points
1,678 views
0 votes
1 answer

I am getting the error while running JUnit test case with java PL. Could you help me out.

I had the same issue. I resolved ...READ MORE

Jun 5, 2020 in Selenium by Samaira
4,641 views
0 votes
0 answers

python selenium find element search class and text and Repetition

def ref(self): while True: ...READ MORE

Jun 14, 2020 in Selenium by anonymous
• 120 points
4,226 views
0 votes
1 answer

Automate the searching of Samsung brand mobile phones in Flipkart website using Selenium Webdriver.

Hey Dhruv, you can write automation script ...READ MORE

May 21, 2019 in Selenium by Anvi
• 14,150 points
21,054 views
0 votes
1 answer

Some scenarios require reboot computer in the middle of their running

You might have to probably call a command-line ...READ MORE

Aug 6, 2020 in Selenium by Sirajul
• 59,190 points
1,818 views
0 votes
1 answer

Which programming languages are supported by selenium webdriver to write test cases?

Hey Aman, following programming languages are supported ...READ MORE

Jun 24, 2019 in Selenium by Abha
• 28,140 points
19,421 views
0 votes
1 answer

How do I play a thumbnail video for a particular product eg. mobile on flipkart site?

Automating video streaming is a bit challenging ...READ MORE

Jul 28, 2020 in Selenium by Sirajul
• 59,190 points
2,309 views
0 votes
2 answers

What are the things we cannot automate using selenium?

1) Regression TC that require manual involvement ...READ MORE

Feb 27, 2020 in Selenium by Divya Krishnan
17,648 views
0 votes
0 answers
+1 vote
1 answer

How can I automate the process of adding iPhone to cart in Flipkart using Selenium(java),Page Object Model and TestNG? Also validate if product is added and available in cart?

Hey check this https://www.edureka.co/community/47160/automate-purchase-adding-book-cart-flipkart-using-selenium? It deals with a similar ...READ MORE

Jan 13, 2020 in Selenium by Karan
• 19,550 points
10,308 views
+1 vote
1 answer

How can I get All Text in robot framework ?

${elem} = Get WebElements ...READ MORE

Jan 29, 2020 in Selenium by Abhishek
• 160 points
14,154 views
+1 vote
1 answer

How can we get the font size, font color, font type used for a particular text on a web page using Selenium web driver?

Hi Deepti, you can use getcssvalue() method to ...READ MORE

Jul 3, 2019 in Selenium by Abha
• 28,140 points
18,536 views
0 votes
0 answers

Getting Error

String tittle=driver.getTitle(); String currenturl=driver.getCurrentUrl(); System.out.println(tittle); System.out.println(currenturl); WebElement withgoogle = driver.findElement(By.xpath("//div[contains(text(),'Continue with ...READ MORE

Jul 30, 2020 in Selenium by Sahil
• 120 points
1,416 views
+1 vote
0 answers

Not able to find the element in a new form in the same webpage ,which popup after clicking a link

I am trying to locate an element ...READ MORE

Jun 27, 2020 in Selenium by Reshmi
• 130 points
2,811 views
0 votes
1 answer

What is soft assert and hard assert?

Soft Assert: Soft Assert collects errors during ...READ MORE

Dec 31, 2018 in Selenium by Stranger
26,191 views
+2 votes
2 answers

How can I press ENTER key with the execute_script in selenium python?

The below code containing Keys.ENTER might just ...READ MORE

Mar 28, 2018 in Selenium by nsv999
• 5,500 points
30,236 views
+1 vote
2 answers

Is it possible to scroll down in a webpage using selenium webdriver programmed on python?

I using next code for facebook for ...READ MORE

May 16, 2019 in Selenium by mslavikas@gmail.com
27,971 views
0 votes
2 answers

Is there any way to get the text of a web element using Selenium Webdriver?

use gettext() in java : string lableText = ...READ MORE

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

Unable to select check with locators, please suggest

Hello, Check Boxes and Radio Button deals exactly the same way ...READ MORE

Jul 22, 2020 in Selenium by Niroj
• 82,800 points
1,467 views
+1 vote
1 answer

cómo recorrer una lista en un desplegable

Puede obtener una lista de todas las ...READ MORE

Jun 2, 2020 in Selenium by Sirajul
• 59,190 points
3,410 views
0 votes
1 answer

How to capture the status change of a process in selenium, after the process is kickstarted(Run)

For your requirement of capturing and displaying ...READ MORE

Apr 14, 2020 in Selenium by Jake George
5,527 views
0 votes
0 answers

TypeError: 'str' object is not callable

Hi , I am working selenium 4.0 , ...READ MORE

May 27, 2020 in Selenium by priya
• 120 points
3,721 views
+1 vote
2 answers

#SELENIUM, CHROMEOPTIONS - CAn we do one time set up for page zoom which applies for alll pages in the application

Have you tried using the Keys.chord() method: WebElement html = ...READ MORE

Apr 3, 2020 in Selenium by Jake
5,821 views
0 votes
0 answers
0 votes
1 answer

How to check whether the current version of my firefox browser is compatible with Selenium Webdriver current version?

Hi Pankhuri, to check the compatibility of ...READ MORE

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

Please tell me the steps to implement selenium in CI/CD pipeline using gitlab ci in GCP cloud. without using jenkins

Check this out https://docs.gitlab.com/ee/ci/examples/end_to_e ...READ MORE

May 14, 2020 in Selenium by Sirajul
• 59,190 points
4,010 views
0 votes
0 answers

Selector only working after inspecting/selecting element (selenium)

I work on selenium with java and ...READ MORE

Jun 11, 2020 in Selenium by Arwa
• 120 points
2,772 views
0 votes
1 answer

Clear text from text area using selenium WebDriver

use the below code: driver.find_element_by_id('abc').clear(); READ MORE

Jun 20, 2018 in Selenium by Meci Matt
• 9,460 points
33,871 views
0 votes
1 answer

Click on a button within a pop-up window with python selenium

It's not an Alert but a Modal Dialog Box. You ...READ MORE

Jun 20, 2018 in Selenium by Samarpit
• 5,910 points
33,704 views
+1 vote
1 answer

How to get the following-sibling element for a table type of structure

Why do you want to use the ...READ MORE

Apr 9, 2020 in Selenium by Karan
• 19,550 points
5,164 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

Apr 10, 2018 in Selenium by nsv999
• 5,500 points
17,421 views
0 votes
2 answers

Data loss after page refresh in selenium

The easiest way to reload current page ...READ MORE

Apr 20, 2020 in Selenium by Liana
4,351 views
0 votes
2 answers

How to create a Javascript executor for making an element visible in Selenium Webdriver?

document.getElementById("myBtn").disabled = true; READ MORE

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

how to select text by span class

Do you just want to select the ...READ MORE

Feb 27, 2020 in Selenium by Etl
• 170 points
6,621 views
+2 votes
1 answer

How to search for a keyword in google using selenium Java?

You can use locators to find the ...READ MORE

Dec 17, 2018 in Selenium by Nabarupa
25,296 views
0 votes
1 answer

How to open browser window in incognito/private mode using python selenium webdriver?

Hi Nuri, to open a browser window ...READ MORE

Jul 31, 2019 in Selenium by Anvi
• 14,150 points
15,572 views
0 votes
1 answer

Read PDF content on a browser using Selenium webdriver?

Hey Parvati, you can use Apache PDFBox JAR ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
16,584 views
0 votes
0 answers

I cannot click on the last element and i have been trying for hours PLEASE HELP!!!

from selenium import webdriver from selenium.webdriver.chrome.options import Options from ...READ MORE

Jun 18, 2020 in Selenium by Justin
• 140 points

recategorized Jun 18, 2020 by Gitika 1,514 views
0 votes
1 answer

How o create testNG sample code?

Hey @Anjum, Check this out. It will ...READ MORE

Jun 18, 2020 in Selenium by Sirajul
• 59,190 points
1,401 views
0 votes
2 answers

How to scroll a Web Page using coordinates of a WebElement in Selenium WebDriver ?

JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("window.scrollBy("X", " y ...READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
7,285 views
0 votes
3 answers

How to set Page Load Timeout using C# using Selenium WebDriver

driver.Manage().Timeouts().PageLoad = TimeSpan.FromSeconds(15); READ MORE

Apr 17, 2019 in Selenium by Tim Muir
14,389 views
+1 vote
2 answers

Python with Selenium issue: “Chrome is being controlled by automated test software”

from selenium import webdriver chrome_options = webdriver.ChromeOptions() chrome_options.add_experimental_option("useAutomationExtension", False) chrome_options.add_experimental_option("excludeSwitches",["enable-automation"]) driver ...READ MORE

Apr 20, 2020 in Selenium by Manoj
20,138 views