All Questions
160 questions
1
vote
1
answer
39
views
C# Selenium "window.angular is undefined" when waiting for elements to be displayed
I have a C# automation framework with Selenium, Webdriver and XUnit.
I have the following issue on my app, but I will give you an example using StackOverflow page, as I get the same issue.
I have a ...
0
votes
0
answers
123
views
Bypass docker to run selenium scripts locally
I have selenium scripts to run on docker container selenium grid that were written before I join this project. due to the docker I don't have access to view the browser while running the scripts. And ...
2
votes
1
answer
579
views
webdriver-manager update --ie throws error
When I try to download ie driver for protractor testing, I do
webdriver-manager update --ie
but I get the below error
(node:17636) UnhandledPromiseRejectionWarning: TypeError: Invalid Version: .3....
0
votes
2
answers
578
views
Protractor : E/launcher - Error: WebDriverError: Timed out waiting for driver server to start
Am facing 'Unable to start a WebDriver session' when trying to execute protractor tests through chrome.After trying out all the below options, am posting here for a solution :
Triggered the run with ...
1
vote
4
answers
1k
views
How to maintain HTML locators for automation
One of the major reasons for ui automation failure is locator changes which need to be constantly updated. What is best way to maintain locators so I don't have to update test automation code every ...
1
vote
0
answers
469
views
Error while running End to End - An unhandled exception occurred: EPERM: operation not permitted, rename
When running "ng e2e" throws below error,
An unhandled exception occurred: EPERM: operation not permitted, rename 'D:\AmazeCommerce\AmazeCommerce-App\amaze-commerce\node_modules\webdriver-...
-1
votes
1
answer
1k
views
How to resolve issue : Server terminated early with status 0
Node version: 10.13.0
npm version: 6.4.1
Output from running the test:
$ npm run e2e
> protractor e2e/protractor.conf.js
[15.11.04] W/launcher - You have specified both capabilitties and ...
0
votes
2
answers
288
views
Protractor Failed: The "url" argument must be of type string. Received type undefined
I am new to Protractor and wiritng an AngularJS protractor test. I am trying to read a Url from Google Chrome console but getting an error "Failed: The "url" argument must be of type string. Received ...
1
vote
0
answers
123
views
How to know which element is stale in Protractor?
I would like to know how to print which element Protractor is complaining of. I understand why elements can be stale but Protractor/WebDriver could give more info on it. Is there a debug/info mode?
...
0
votes
1
answer
166
views
I have a use case where i need to keep the protractor session as well as the browser instance alive after the tests end. Is there a way to do so?
Similar to selenium using java, the session and the browser driver instance doesn't end on its own till user calls driver.quit(), however in protractor, the session as well as the browser instance ...
2
votes
2
answers
5k
views
This version of ChromeDriver has not been tested with Chrome version 79 error running protractorE2E tests with ChromeDriver Chrome Selenium
Those are my settings:
.gitlab-ci.yml
image: node
stages:
- test
tests:
stage: test
before_script:
# Add Google Chrome to aptitude's (package manager) sources
- echo "deb ...
1
vote
1
answer
564
views
Unable to select value from autocomplete using protractor
<select name="Name" class="metaselect ignore" style="display: none;" xpath="1"> <option value="00000000-0000-0000-0000-000000000000" selected="selected">-- New --</option> <...
1
vote
1
answer
1k
views
How to get rid off older chromedriver version
I was using chromedriver ver. 75.0.3770.8 however Chrome browser was updated by then and now I need to install chromedriver a least 77.0. I did so, I exchange chromedriver.exe file in the folder where ...
0
votes
1
answer
261
views
I can't get Text from the class, it returns null
help me please i have two problems:
1) First i need equal the texts from Alert pop-up from:
<div class="noty_message message"><span class="noty_text">Uh oh! Email or password is ...
1
vote
1
answer
2k
views
"E/launcher - session not created: Chrome version must be between 71 and 75" when trying to run E2E in VSCode for an angular app
I am trying to run the e2e for an Angular application in VSCode (command: ng e2e) and I get the below error.
My environment:
Win 10
VS Code version: 1.37.1
Chrome version: Version 76.0.3809.132 (...