Having some trouble with utilizing Protractor for testing my end-to-end application built with Angular. Running into timeouts despite already starting the Selenium server and Chrome driver. ...
Trying to run Selenium tests on a GWT Java application and utilizing the ChromeDriver for this purpose. Requiring the GWT Plugin in the settings, here's the process I follow: @Provides @Singleton protected WebDriver getDefaultWebDriver() throws IOEx ...
When it comes to web automation, I find myself frequently using Selenium and ChromeDriver. Currently, I add ChromeDriver to all my projects by making a copy of chromedriver.exe and including it in each project directory. Then, I specify the location of chr ...
Using Selenium chromedriver; The selenium chromedriver was initialized and the chrome browser window appeared, showing the following information: Starting ChromeDriver (v2.8.241075) on port 10820 [8804:7492:0110/155544:ERROR:chrome_views_delegate.cc(176)] ...
I am currently working on a script that automates the login process on a website and performs certain actions. The code for logging in is as follows: WebDriver driver; JavascriptExecutor exec; String dni = "..."; String passwd = "..."; ...
When attempting to open a new page using ChromeDriver, I am using the following code: import selenium from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as E ...
I'm attempting to perform integration tests on a local host (without HTTPS) using Selenium with ChromeDriver. Chrome insists on an HTTPS certificate, but I discovered from this question that I can bypass this requirement by using the argument --ignore-cer ...
I'm exploring the use of Behave for BDD, but I've encountered an issue. I already have several Selenium (Python) tests that are running successfully, but when I switch to using behave, I encounter an error stating "chromedriver.exe has stopped working". I ...
I've been struggling for hours to extract the specific text from a variety of elements on a website. I attached 2 images in hopes that they will help in identifying these elements by their similarities, such as having the same class name. The black un ...
How do I locate the value 1352 using Java Selenium on ChromeDriver? <span class="numfound" id="yui_3_18_1_1_1522936314968_15">1352</span> The id is not intuitive, so I want to select by the String "numfound". I attempted selecting byClassName ...
Currently, I am executing a Selenium web-scraping loop on Chrome using MacOS arm64. The goal is to iterate through a list of keywords as inputs in an input box, search for each one, and retrieve the text of an attribute from the output. A few months ago, I ...
I encountered the error message: "TypeError: 'str' object is not callable" while running this code: iframe=driver.find_element(By.XPATH("//iframe[contains(@src,'https://pianomarvel.com/uploads/editSlicings/85810')]")); What could be causing this issue? C ...
Below is my docker-compose.yml file that binds Chrome and Firefox nodes to a Hub. version: "3" services: selenium-hub: image: selenium/hub container_name: selenium-hub ports: - "4444:4444" chrome: image: selenium/node-chrome-de ...
I am facing an issue with my script. The code between the specified problem-comments is not executing as expected. This script is designed to log into the Yandex-mail page (), locate the search-field for mails using XPath, click on it, and input the text " ...
When using the get_attribute() method in Python Selenium, an error pops up: Are you referring to 'getattribute'? What is the purpose of this function? I am attempting to retrieve the class attribute of the parent element to confirm if I have reached th ...
I have been attempting to find those buttons displayed here: https://i.stack.imgur.com/5M1qd.png Here is the HTML for them: https://i.stack.imgur.com/238no.png I've experimented with different methods, but unfortunately, nothing has succeeded. ...
Currently, I am delving into learning Selenium with C# and have encountered an issue with my assert function. Below is the code snippet in question: // Compare Expected Price with Actual Price string Price = "£29"; IWebElement ProductPrice = driver.FindE ...
Looking for a solution to upload a file by clicking on an element: <a class="gray_box" href="#">Choose world folder<span>Select the world folder, we'll do the rest</span></a> The issue arises when the file manag ...
public class CssCheckCrome { public static void main(String[] args) { System.setProperty("webdriver.chrome.driver","C:\\Users\\user123\\Desktop\\chromedriver_win32\\chromedriver.exe"); ...
Attempting to extract audio(under experience the sound) from 'https://www.akrapovic.com/en/car/product/16722/Ferrari/488-GTB-488-Spider/Slip-On-Line-Titanium?brandId=20&modelId=785&yearId=5447'. The code I have written is resulting in an ...
Encountering an issue with selenium(4.12) & python(3.11.5) on chrome(116.xxx), elements fail to load when selenium attempts to click on them. However, manually refreshing and clicking on the elements makes them load and function properly. The problema ...
I created a program in Python using Selenium and ChromeDriver to notify me when seats are available. I then packaged it with PyInstaller using the --onefile and -w options to avoid displaying any console windows. However, upon executing my program, the c ...
In my work with Selenium web driver, I have crafted a series of codes in Eclipse to test different features of a web application. My aim is to execute them sequentially without combining them into one code using the '@Beforetest' and '@After ...
During one of my test cases, I am verifying the visibility status of certain elements. The process is quite simple: Login Verify that 5 buttons within the left menu bar are not visible (as the user does not have access rights) End the test This verifica ...
When trying to click on a specific element based on the text displayed on this page using Python 3 and Chrome driver, I encountered an issue. For instance, when searching for "BEBES", I used the following code: WebDriverWait(browser, 10).until(EC.element_ ...
I'm experiencing difficulties with clicking the next button (>) and repeating this process until reaching the last page. Despite researching similar issues, I have been unable to identify what's causing my code to malfunction. Below is the co ...
I'm currently conducting a test on the Lufthansa website using a Selenium webdriver. I encountered an issue where the "FROM" field is pre-filled with the value "Casablanca", and despite clearing it, it automatically reverts back to "Casablanca" when clic ...
I've been encountering a similar issue with this question, and despite trying to resolve it using WebDriverWait, I continue to receive an exception error indicating that the selector is not present. Even after printing driver.execute_script("return ...
https://i.stack.imgur.com/CgegX.png My goal is to interact with the tabs on this page, but unfortunately I am unable to do so. Is there a way to access the data-toggle functionality using Selenium in Python? ...
I am currently working on an automation project using Selenium, which involves calling the Chrome webdriver to run test cases. However, I have encountered an issue with Chromedriver not being able to locate elements on websites built with the Polymer frame ...
Ever since updating my Chrome browser to Version 65.0.3325.162 (the latest version), I've been experiencing a problem. Every time my tests start, an additional zombie Chrome process appears in the task manager, consuming a significant amount of CPU r ...
Currently, I am diving into the world of web scraping using Selenium. To get some practical experience, I decided to extract promotions from this specific site: https://i.stack.imgur.com/zKEDM.jpg This is the code I have been working on: from selenium im ...
I have a simple HTML code generated from a C# dotnet core ASP application. I am working on a webdriver test to count the number of input boxes inside the colorList div. Initially, the count is two which is correct, but when I click the button labeled "+", ...
As of now, I am engaged in a project with Selenium where I am trying to accurately identify elements using the 'Inspect' feature on Chrome. There are instances where some of my buttons to click are only defined by class, but certain classes fail ...
I implemented the selenium framework and included this dependency. However, I encountered an issue where the browser wasn't being invoked due to Chrome version 116. <dependency> <groupId>io.github.bonigarcia</groupId> <art ...
I am interested in running a parallel execution of a web crawler using Selenium ChromeDriver. Encountering problems when attempting to use the same instance of ChromeDriver within a ForEach loop. When trying to access attributes of an HTML document, the ...
Every day, I run tests on a Remote Machine using Azure's scheduled run. Unfortunately, some of the tests keep failing and are generating the following error log. How do I go about resolving this issue? Please note that I do not have the method implementat ...
I've been using selenium chromedriver to automate tasks, such as logging in, checking checkboxes, and navigating web pages. However, I've run into a roadblock while trying to upload a file. The upload page has multiple buttons that open dialog b ...
while True: cursorx, cursory = pyautogui.position() body = driver.find_element_by_css_selector("body") actions.move_to_element_with_offset(body, cursorx, cursory) Is it possible to programmatically move the mouse on a website without ...
While running a protractor script to test an Angular page using chromedriver, I have noticed that the results differ when using the "Headless" or "Normal" browser modes. For instance, when employing a "repeater" locator to showcase items in an empty list, ...
Every time Chrome releases an update, I encounter a recurring issue. Allow me to paint the picture: All browsers are at version 83 of Chrome Chrome announces that version 84 is on its way, but it has not been released yet. A new ChromeDriver 84 is rolled ...
I recently ran into an issue with WebDriver and my Chrome installations. Even though I have both the 32-bit version and Chrome Canary installed, WebDriver always defaults to opening the 32-bit version due to the path provided. When attempting to specify t ...
I am currently facing a challenge when it comes to extracting text from a specific webpage: https://i.stack.imgur.com/YNo0Y.png My attempts with browser.find_element_by_class_name("W6bZuc.YMllz").text have been unsuccessful. I also tried browser.find_e ...
When attempting to extract text from an element and display it in the console, I encountered a challenge as the text was surrounded by and as noted in the JSON file retrieved during a GET request. The HTML structure appears as follows: <span clas ...
Struggling to set up behat 3 with chrome and encountering issues while trying to initialize the behat.yml file. default: extensions: Behat\MinkExtension\Extension: base_url: 'http://someurl.com' javascript_session: se ...
Encountered an error while trying to run Selenium using Jenkins: org.openqa.selenium.SessionNotCreatedException: Could not initiate a new session. Issue arose during session creation with the driver service, leading to service stoppage. Response code 500. ...
While attempting to utilize the selenium chromedriver browser for web scraping, I encountered a situation where the page was still loading despite fetching the desired information. I didn't want to wait indefinitely, so I began searching for a way to halt ...
The ChromeDriverService class can be found in the org.openqa.selenium.chrome package. It's functionality allows for starting the Chrome driver on any port of the machine using the code snippet below: ChromeDriverService service = new ChromeDriverService.B ...
While conducting a Selenium Test in Python, I encountered an issue. The test file runs successfully, but when attempting to run a testLoader with that test, an error occurs: selenium.common.exceptions.SessionNotCreatedException: Message: session not create ...
I have developed an automated test using Selenium, and it runs successfully in Eclipse. However, when I try to run it in Docker, I always encounter the NoSuchElement Exception. I am hoping that someone can assist me with this issue. Here is a snippet of my ...
While attempting to click on a link within a dropdown menu that appears when I hover over a button, my test is encountering a MoveTargetOutOfBoundsException error. This error occurs when trying to hover over the button. Oddly enough, when I manually open t ...
I am currently testing the following HTML using Ruby Selenium Web Driver: <div class="container-fluid container-results"> <div class="result-row" id="0"> <ul> <li class="process-status-column upload-success-ico ...
I implemented a system where I have a roster of article titles and IDs that are utilized to construct the URLs for the articles and then collect their content through web scraping. To optimize the process, I decided to employ multiprocessing.Pool for paral ...
I am currently using webdriver (), standalone selenium, and mocha for writing my test cases. These test cases are specifically designed for Chrome, so I rely on chromedriver for execution. However, when launching the browser, I need to ensure that the "to ...
I've been experimenting with web automation using Selenium. Everything was running smoothly until I updated my packages - now the send_keys() method isn't functioning on Linux, but it's working fine on Windows with the same versions. I&apo ...
Currently, I am working on creating an automated test for my website using a combination of Jasmine and selenium. However, when I run the tests on chrome with chromedriver, I encounter the error below randomly. This issue occurs frequently enough that it ...
I need assistance with using Selenium for website automation in Chrome using vb.net. I am trying to download files from a website that does not have direct URLs for download buttons, as the downloads are triggered by JavaScript. How can I accomplish this i ...
System Information: - Browser: Chrome Version 39.0.2171.95 - Driver: Chrome Driver 2.13 (Latest) - Automation Tool: Selenium WebDriver I am currently facing an issue where my script is unable to click on a b ...
Currently I am facing a challenge in my automation testing process. I am trying to download 3 files with a single button click when utilizing Robot Framework with SeleniumLibrary and writing code in VSCode. Upon clicking the button, Chrome displays a popup ...
I am currently utilizing two Windows VMs, each equipped with 2 CPU cores and 8GB of RAM. My tests have been running smoothly using Selenium Grid, with 7 instances of Chrome being run simultaneously across these machines. This setup entails that one machine ...
Currently, I am utilizing Selenium with Java to create a test. My task involves retrieving the text from inside an input element: <table class="boundaryFormAdd"> <tbody> <tr> <td> <input id="id ...
After updating my Chrome browser to version 78, I encountered an error when trying to run any automation code. To resolve the issue of timeout while connecting to ChromeDriver and related test frameworks, ensure that ports are protected from access by mal ...
Check out this HTML snippet: <div class="ia-ControlledFilePicker"><input class="ia-ControlledFilePicker-control icl-u-visuallyHidden" type="file" id="ia-FilePicker"><label class="ia-ControlledFilePicker-fakeControl" for="ia-FilePicker">C ...
As someone new to Selenium and still in the learning process, I apologize if I come across as naive. We are currently trying to execute our Selenium tests on a specific machine through IIS. Strangely, when running the code locally, everything operates pe ...
I have been working on a multiple image upload feature and here is the code I am using: import selenium import time import selenium.common.exceptions import os from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriv ...
When using Selenium with ChromeDriver to access static files like hudoig.gov/sites/default/files/documents/2016-FW-1007.pdf (just an example), the file automatically downloads to my default download folder. Is there a way to stop this default behavior and ...
My goal is to access values from a table within a div element using selenium. Although I am able to see the table when inspecting the element, I cannot locate it in the source code while attempting to access it through selenium. When Inspecting: https:/ ...
This was the version I had: Visual Studio 2013 WebDriver.ChromeDriver.win32 2.2.0 selenium-dotnet-strongnamed-2.35.0 Firefox 24 However, while running a Coded UI test, I encountered the following error: Microsoft.VisualStudio.TestTools.UITest. ...
A problem has arisen with the Ruby Selenium script I am running in parallel. The issue occurs when attempting to send text input through send_key on a webpage while using the Chrome browser. Selenium::WebDriver::Error::ElementNotVisibleError: element not ...
I encountered a problem in Chrome where I received an error message "You Are Using An Unsupported Command-Line Flag –Ignore-Certificate-Errors. Stability And Security Will Suffer." when running my Selenium code as shown below. Public Sub key() Dim sel ...
As a beginner in the world of selenium, I am looking to extract the price and offer end time from a Udemy Course link. How can I achieve this? The price and course end time are dynamically loaded onto the website. While I have experience extracting simple ...
Could someone please help me with this issue? I'm encountering errors with the find_element_by_() commands in my code and have tried reinstalling everything, as well as changing the Python version. Unfortunately, nothing seems to be working. Any suggestion ...
I am facing an issue with a code snippet that takes a screenshot of a locally hosted website (https://) when executed "on-demand." The problem arises when the code runs twice in the same second causing the following error: Traceback (most recent call last) ...
Seeking guidance on how to modify the default download location for Chrome using Selenium-Perl. Utilizing Chrome Webdriver alongside the Perl module Selenium::Remote::Driver. Found solutions in Java but struggling to locate a Perl-specific example. ...
Currently, I am using Selenium Python Css selector to target 1 component with 2 attributes simultaneously, both of which should be partially matched. Successfully located the element with Xpath: fifth_item = driver.find_element_by_xpath("/html/body/div[c ...