Questions tagged [selenium-webdriver]
Selenium WebDriver provides the WebDriver API for controlling browsers in different programming languages ("language bindings"). When using this tag, also add a tag for the programming language you are using.
selenium-webdriver
57,649
questions
1
vote
1
answer
25
views
Resolve Multidimensional Array using Javascript
When I do.
I receive as the screenshot attached.
But I need one array having each array as a whole number.
'use strict'
const { helper, browserstackBase } = require('@core/IQAir')
const webdriver = ...
0
votes
0
answers
12
views
Selenium JavaScript - cannot continue loop of events after opening and closing new tab
I'm building an automated E2E test for an application that lists a bunch of properties. The way I want this flow to work is:
Homepage is a list of properties with links to individual property ...
0
votes
0
answers
5
views
Selenium verision 4 using python behave to connect SeeTest
I am trying to run my desktop browser tests on seetest, I am using selenium 4 which has no desired capabilities but it uses 'options' however I tried multiple syntax but no use.. tests still connects ...
0
votes
1
answer
22
views
python selenium get devtools request headers data
I have tried many searches and attempts, but I haven't achieved the results I wanted.
I need devtools >> network >> Headers >> cookie data
help!!!!
Please let me know how to ...
0
votes
0
answers
18
views
1SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure
Could not launch the browser (Chrome, Edge, etc) I have latest build of Chrome : 126, Selenium : 4.22.0, java.version: '22.0.1'.
Exception in thread "main" org.openqa.selenium....
0
votes
1
answer
20
views
Unable to click on element using Selenium Python
I am trying to scrape conference websites from this list of conferences: https://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/en/meetings/archive/#2022
This requires Selenium to click on 'Details' to get to ...
0
votes
0
answers
8
views
Unable to start Appium inspector after restarting my mac
I have been using Appium (v2.5.4) inspector as normally and everything works fine however I have to restart my machine and now I am getting the message:
Failed to create session. An unknown server-...
0
votes
1
answer
18
views
I cannot run Python with Selenium through SSH on Windows
I am using a Python script with Selenium, to open a web page, but if I try to run the script from SSH, it does not open the browser on the other computer. I am trying to do it in a virtual machine.
I'...
0
votes
1
answer
43
views
"CSV Data in Linux Shows '???' in First Element but works fine in windows - How to Resolve?"
I'm executing my code in GitHub Actions (Linux environment) and trying to retrieve data from a CSV file. However, the first element of the CSV file is showing as '???"'. Interestingly, the same ...
-2
votes
0
answers
23
views
Unable to get value from this element <input disabled="disabled" value="8.99 $" class="user-payment__input"> [closed]
Im using python selenium + pyautogui
i tried driver.find_element(By.XPATH, "path).get_attribute('textContent'), it always return an error element is not found. is that anyway i can get the value ?...
0
votes
1
answer
20
views
stale element reference exception occur on some ocassions
I am conducting performance testing to measure the response time of suppliers' results for a flight search application using Selenium with Java and TestNG. I have utilized invocation count and thread ...
0
votes
0
answers
17
views
Issue with enabling perfLoggingPrefs in Selenium (Python)
I am trying to start an instance of the chrome webdriver through Selenium that tracks outgoing HTTP requests.
I have the following code (excerpted)
#imports removed for brevity
class ConfiguredWD(WD....
0
votes
1
answer
44
views
How do I click on the input button inside a form with Selenium and Python?
I have this form and I need to click on the input type button with the value = CASTRO SALVADOR. I'm using Python and Selenium.
<form name="seleccionaEmpresaForm" action="...
0
votes
1
answer
29
views
Extracting the text between span tags in a Javascript-rendered page using Selenium in Python
I am trying to scrape all instances of text between tags with a particular class on a web page that dynamically updates. I am using selenium with a chrome WebDriver in Python.
In a normal browser, ...
0
votes
0
answers
29
views
Scraping economic calendar from investing.com
This code's goal is to create a pandas data frame from a data table that is scraped from a https://www.investing.com/economic-calendar/ daily
the problem is that code is not working. I have tried ...