All Questions
113
questions
0
votes
0
answers
18
views
Test Cases are getting passed but not able to get logs file in logs folder
I have created a customLogger.py file to capture logs and entered location.
then i ran test_login.py file of test cases where i used logs method.
Is there any problem with the log location that i ...
0
votes
1
answer
41
views
Unable to get a handle on the auto-suggestion dropdown in an angular based website using python selenium
I am trying to automate work-flow using python-selenium in a website made using angular. However, I am not able to automate auto-suggestion dropdown.
When i input the suggestion key using send-keys ...
0
votes
1
answer
48
views
How to get the verify in selenium Python
I am writing a test for cancel a data request at the page: https://school.moodledemo.net/admin/tool/dataprivacy/mydatarequests.php
There is a pop-up when cancel a data request
My code to catch this:
...
-1
votes
1
answer
95
views
Chrome browser closes immediately after being launched with selenium
Hello im trying to run the following code in python.
from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from webdriver_manager.chrome import ...
1
vote
4
answers
17k
views
ChromeDriver is outdated, how do i update it?
Im currently learning Selenium automation with python and im using chromedriver.
Im having an issue running this simple script:
from selenium import webdriver
from selenium.webdriver.chrome.service ...
0
votes
0
answers
263
views
Python Selenium metamask automation error
I'm trying to automate metamask (crypto wallet extension) login on a website and I get an error when trying to find the password input element. I have managed to kind of come up with a fix but I don't ...
1
vote
2
answers
222
views
Browser closes automatically after script execution
This following code runs without any errors, but it automatically closes Google Chrome after the script completes.
import time
from selenium import webdriver
from selenium.webdriver.chrome.service ...
-2
votes
1
answer
49
views
ERROR: module or package not found: (missing __init__.py?) - PyCharm - Python [closed]
I'm trying to perform som automated tests on PyCharm but I'm getting the following error:
ERROR: module or package not found: (missing __init__.py?)
enter image description here
enter image ...
0
votes
1
answer
101
views
Selenium cannot interact with an accordion-item
I've been trying to get an autmation test running for a site, I can successfully log in and land at the dashboard. However when trying to click on a module from a sidebar menu, selenium is not able to ...
0
votes
0
answers
66
views
Implementing FIDO2 Device Registration as WebAuthn for 2FA using Robot Framework and Python
I'm working on a project where I need to implement FIDO2 device registration as a WebAuthn method for 2FA within our application. We're using Robot Framework with Python for automation. I'm seeking ...
0
votes
0
answers
25
views
ElementClickInterceptedException QA automation
ElementClickInterceptedException, suggests that the button you're trying to click with the CSS selector "button.btn.btn--primary.nextStep[data-step-target='#step3']" is not clickable because ...
-1
votes
1
answer
125
views
Selenium with Python- How to access a HTTP request and assert the content in real time
I'm a QA automation Jr and I'm using Selenium with Python for my tests.
What I need at the moment is to access the requests during the test and asserting it´s content.
For example, performing a login, ...
0
votes
0
answers
287
views
How to "Allow all Cookies" in chrome 114 using python (selenium)
I am trying to select the first option in the Chrome cookies settings, i.e "Allow All Cookies"
but I am not able to select the option. I am using Python's Selenium module to achieve this ...
2
votes
0
answers
39
views
Trouble with Using Unit Test in Python
I'm making an auto grader for professors to upload a folder of code submissions and a test folder, and my program should run the tests and return a grade. I'm having trouble using the test suite in ...
1
vote
5
answers
218
views
what does driver : WebDriver mean in an __init__ function
I was completing a tutorial on selenium webdrive and I saw this, Does anyone know what is happening, what does driver:WebDrive mean?
def __init__(self, driver: WebDriver):
self._driver = ...