Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 97762 articles
Browse latest View live

xpath how to choose all elements matching

Need to getText from all elements how on the picture 1I don`t know why it takes text only from the first elementThis is my Xpath://ul[@class='holders-list...

View Article


Selenium auto closing window

I tried to write selenium bot with ruby, but it just close chrome window after loading page. What can i do? Please helprequire "selenium-webdriver" options = Selenium::WebDriver::Chrome::Options.new...

View Article


TypeError: required field "posonlyargs" missing from arguments

I have just started practicing Selenium with Python on version 3.8.1 and getting the below error while compiling via pyTest, I have installed Allure as well.

View Article

Image may be NSFW.
Clik here to view.

Selenium can't click button

How can I click button "View profile" on this page.Problem: when I want to copy XPath of "View profile" button, the button...

View Article

How to locate a tag by text in its child tag

I am new to Webelement and selenium, can anyone help me on how to locate element below , using text "Hotel Wahington":<a class="hotel_name_link url"...

View Article


How to prevent Cucumber Scenarios to run in parallel

That's how I built the ScenariosI'm using this command to run the Feature tests using Cucumber: .\node_modules\.bin\cucumber-js features\ -r steps\As a result, all Scenarios run in parallel. how to...

View Article

unknown error: Chrome failed to start: exited abnormally (Driver info:...

When running selenium test from jenkins, I get this error: org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally (Driver info:...

View Article

Saving Screenshots in a single excel or PDF Selenium with node.js

Trying to write Selenium script for taking screenshots with specific dimension and saving in a single excel sheet.Any leads with be appreciated...

View Article


Image may be NSFW.
Clik here to view.

3 Add Firefox Profile But Extension Error

Selenium Firefox profile add opening Firefox, but extension is not working.

View Article


Implicit vs Explicit vs Fluent Wait

What is difference in between Implicit, Explicit, Fluent Wait ?If we set 10 seconds in Implicit wait and before 10 seconds, within 3 seconds only element get located.That time what will happen ? It...

View Article

Timed out receiving message from renderer: 0.100 log messages using...

We recently upgraded our test environment with ChromeDriver v80.0.3987.16 and Chrome v80.0.3987.87 (Official Build) (64-bit) and after the upgradation even the minimal program is producing a lot of...

View Article

TypeError: required field "posonlyargs" missing from arguments error running...

I created a Simple Selenium Pytest automation script on Python 3.8.1. After running the script I see the below error:Traceback (most recent call last): . . . Error messages . . TypeError: required...

View Article

How can I get source code of page from selenium IDE? [duplicate]

I try work with selenium IDE. And this is exported code from IDE:# Generated by Selenium IDE class TestSourcecode(): def setup_method(self, method): self.driver =...

View Article


Press Button in Python with selenium

The Button looks like this in HTML <button type="submit" class="btn btn-success"> <strong>Gönder</strong></button>And i used this in pythonfrom selenium import webdriver from...

View Article

Unable to find the xpath of star using selenium & java

Thank you in advance !url - https://www.tripadvisor.in/UserReviewEdit-g641714-d1156207-Club_Mahindra_Madikeri_Coorg-Madikeri_Kodagu_Coorg_Karnataka.htmli need to hover on the stars and select the 5th...

View Article


unable to create remote session - Eclipse - Appium

I am learning Appium, I am unable to create remote session using the following capabilities. Though the >capabilities are working in Appium server itself on the emulated deviceimport...

View Article

AttributeError: 'NoneType' on the selenium

I have a error in my code, I want to get or to print the product text but when i run it it gave me an error.here is my code:import kivy from kivy.properties import ObjectProperty from selenium import...

View Article


Error on Index: File "", line 26, in IndexError: list index out of range

I am new to python and working on my script to scrape tripadvisor AU using selenium. The issue I have now, is with IndexError: list index out of range for my page_list = range. Your guidance and...

View Article

How to store a text field value and retrieve it later - Selenium Web Driver...

Need your help in Selenium Webdriver coding with Java.I have a scenario, where I create a Course name and submit it to the database and then later I need to search for the Course by the name I created...

View Article

How do I create a 'fatjar' in multi module selenium automation project?

I've been at this for days and have tried many things but I can't seem to figure this out. I'm converting a multi module project in intellij from maven to gradle and have a structure as...

View Article
Browsing all 97762 articles
Browse latest View live