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

How to reuse steps definition of one feature file implementation in another...

I am having the below folder structurefolder root features file1.feature file2.feature source file1.py file2.py The implementation of file1.feature is in file1.py and file2.feature is in file2.py. I...

View Article


Selenium is slow while finding non-existent through classname using Python

Some sites has age limitation, which will ask you whether you are over eighteen years old and you click yes to enter the site or no no to close the pageHere are snippet of codedriver.get(url2) if...

View Article


how to close selenium hub/grid from command prompt

I start Selenium hub to start Selenium Grid from command prompt on port 4444. Now I start Selenium RC from other command prompt.It shows me error message that "Selenium is already running on port 4444....

View Article

Python Selenium - I can't run the while loop

I just started python. I want to write a loop containing bot using Selenium. I want to login to a site. I send my number and password. The page refreshes when there is density on the server. Number and...

View Article

Jenkins Pipeline - Python Unit Tests fail, but build is marked as successful

I am currently doing QA automated testing with Python and Selenium. I am using the following pipeline:pipeline{ agent any stages{ stage('Cloning GIT Repo'){ .... skipping this part } stage('Installing...

View Article


Image may be NSFW.
Clik here to view.

Download csv with Python scraping button in dynamic web page

I would like to download a csv from this web page (https://biwenger.as.com/la-liga/players) with python. There is an option (image attached) that you can download this csv, but I would like to get it...

View Article

How to download reviews from a page where a block with review pages is...

I want to scrap reviews using Selenium and BeautifulSoup. I used them, not a ready-made solution because I wanted to load the stars. But there were two problems:It downloads duplicate reviews. I think...

View Article

New tab in Firefox using Python Selenium

I have tried everything available on internet but nothing seems to work! Trying to open a new tab in Firefox on Mac OS using Python Selenium. Please help! Below doesn't...

View Article


How to press Down Arrow key followed by "Enter" button in Selenium WebDriver?

I am using Selenium Java. I need to enter value into text box and press down arrow to select suggestions and then press Enter key.So, my question is how to press Down Arrow key followed by "Enter" key?

View Article


Image may be NSFW.
Clik here to view.

Selenium send_keys doesn't sent apostrophe

In Selenium I want to input a teststring hello'world, but the webpage's textbox becomes helloworld. As if the apostrophe doesn't exist.My part of the code: (using Chrome webdriver in python)driver =...

View Article

Unable to upload a file to the "browse" button using sendKeys() in Selenium Java

I am trying to automate the upload file function. I have tried using different xpaths to get input element but it seems that I am probably not doing something right. My input element does not have an...

View Article

How to open a link embeded in a webelement with in the main tab, in a new tab...

There is a link embedded in a web element in the Main Tab, I want to open that link in a new tab in the same window using Selenium Webdriver and python. Perform some tasks in the new tab and then close...

View Article

org.openqa.selenium.WebDriverException: Session [null] not available and is...

I am running selenium grid and has 2 nodes connected to it. But when I try to run a test script (.java) it gives the error:Exception in thread "Thread-23" org.openqa.selenium.WebDriverException:...

View Article


strange problem "java.lang.NoSuchMethodError" when invoking other...

I'm trying to run a Maven project(e.g. regking) which invoking other Maven project (e.g. selenium-geetest-crack) and the latter included selenium-server library configuration in pom.xml regking's code...

View Article

Image may be NSFW.
Clik here to view.

How to Select textarea in Selenium?

I've been working on a project and had much success with selecting web elements using .get_attribute('value') and .get_attribute('text').I am trying to select the text from the web element in the...

View Article


Element not found when executing findElement in Selenium

I don't know how I'm going to explain this, but I'll give it my best :) I'm trying to fill in multiple forms that come after eachother, all the forms get filled swiftly with no errors because I make...

View Article

How to use another class method value in different class in python?

I have a page object class for login page where i have created a method. from Resources.Locators import Locators from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support...

View Article


How to increase the curl timeout in facebook php web-driver

I'm using facebook/php-webdriver when I'm trying to connect to any website with a proxy using the following code :$driver = RemoteWebDriver::create($host, $capabilities); try{...

View Article

selenium chromedriver error using jupyter notebook

The error massage is:FileNotFoundError Traceback (most recent call last) ~\Anaconda3\lib\site-packages\selenium\webdriver\common\service.py in start(self) 75 stderr=self.log_file, ---> 76...

View Article

How to get last downloaded file using selenium

Is there anyway I can get the last downloaded file using selenium. Currently I am downloading an Excel file using selenium, I need to get that file and read it. the reading part is covered, but I need...

View Article
Browsing all 97756 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>