Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Jan 31 2019 19:00
    tfaron commented #5133
  • Jan 31 2019 07:28
    cnishina closed #5135
  • Jan 31 2019 07:28
    cnishina commented #5135
  • Jan 30 2019 16:23
    ThabisoGithub closed #5136
  • Jan 30 2019 16:23
    ThabisoGithub edited #5136
  • Jan 30 2019 16:23
    ThabisoGithub edited #5136
  • Jan 30 2019 16:21
    ThabisoGithub opened #5136
  • Jan 30 2019 16:18
    IgorSasovets commented #4177
  • Jan 30 2019 15:05
    andrewchan-clover commented #4177
  • Jan 30 2019 13:43
    IgorSasovets commented #5135
  • Jan 30 2019 12:37
    EnzDev edited #5125
  • Jan 30 2019 11:47
    akshaymondal opened #5135
  • Jan 29 2019 14:33
    uinest commented #4822
  • Jan 28 2019 21:38
    cnishina commented #5132
  • Jan 28 2019 21:37
    cnishina commented #5134
  • Jan 28 2019 21:37
    cnishina closed #5134
  • Jan 28 2019 21:36

    cnishina on selenium4

    chore(release): bumpb version t… (compare)

  • Jan 28 2019 11:30
    think4ideas opened #5134
  • Jan 28 2019 11:01
    toniedzwiedz commented #2735
  • Jan 28 2019 09:42
    azorrozua commented #4786
Abhijeet Kadam
hi friends , i am trying to run my protractor tests using WebStrom. I am getting this error "unknown error: DevToolsActivePort file doesn't exist" . could you please help
UPDATE: I just used the normal JDK version 13 from and it is working fine...
Tedi Roca
Hi guys - are you finding the need to start using explicit waits over the last releases of protractor/chromedriver?
In the past I never had to use them but during the last few months I need to add them regularely to avoid click on transitions (e.g. when closing dialogs)
@tedi.roca_gitlab Nothing's changed for us recently. But we've had to use explicit waits for a long time. We use implicit waits whenever possible, but Protractor sometimes reports a false positive when trying to click an animating element, so... explicit waits it is.
await link.getText().toMatch('Text_of_Button') getting following error :
- Failed: script timeout (Session info: headless chrome=77.0.3865.90)
Tedi Roca
@GitSage yeah, it's something that started to happen many releases ago but I feel it's getting worse and worse.
Hi All, any using protractor-beautiful-reporter? I'm having issues it's not generating app.js and html file. I know this is not the right channel but wanted to know if you guys encountered it and how got it fixed. Thanks!
Hi All, I am very new to protractor, I have couple of question
  1. In which we have to write scripts JS or TS?
  2. Where we have to write? Inside E2E Folder which comes default in angular project? Or should we create new folder for automation purpose out of the project?
JS is good .Refer rahul shetty protractor tutorial in packt or udemy
Rick van der Meij
We've created a starterkit which uses Cucumber, Protractor (5) and Puppeteer combination to easily create scenario's and steps, aswell as a handy report: take a look:
Thiago Castilho
Hello guys! I'm new to Protractor, and I facing with proxy problem when I use 'webdriver-manager update'... I tried the command 'webdriver-manager update --proxy=protocol://my.proxy:port' but it did not work. Can anyone help me?
Rick van der Meij
"test:e2e:fix-webdriver": "./node_modules/protractor/bin/webdriver-manager update 2.35",
@thiago-castilho I've added this command to fix webdriver issues
Hello guys, can you please advice how to configure allure report for protractor jasmine, for now i ma trying to add in such way but get error
jasmine.getEnv().addReporter(new AllureReporter());
jasmine.getEnv().afterEach(async function() {
const png = await browser.takeScreenshot()
await new AllureReporter().createAttachment('Screenshot', function () {
return new Buffer(png, 'base64')
}, 'image/png')();
Ghouse Mohiddin
Hi all, Can somebody tell me how to input the file page...and click Open ...using protractor
I want to put the path in the file name field and click Open using protractor/Typescript
anybody has any solution...
anyone know how often PRs get reviewed and merged? protractor needs to update their saucelabs package to fix a high severity security patch related to https-proxy-client, i've submitted the PR to fix it, just needs approval.
*https-proxy-agent not client
Ya Bilal
Hello, I am trying to execute multiple specs files on multiple instances by using multiple capabilities option in config file. This part is easy, but I would like to start the second instance of browser only when the execution of first instance is finished. (sequential execution of spec files on multiple instances)
hello-1 and hello-2 should run only when hello is finished on first instance.
Does someone know how to achieve that?
multiCapabilities: [
      shardTestFiles: false,
      browserName: "chrome",

      sequential: true,
      specs: ["src/e2e/specs/hello.spec.ts"],
      browserName: "chrome",
      shardTestFiles: true,
      maxInstances: 2,
      sequential: true,
      specs: ["src/e2e/specs/hello-1.spec.ts", "src/e2e/specs/hello-2.spec.ts"],
@yabilal you can define two config files, and run second when first one would finish. Like npm run first && npm run second
Purushottam Jha
Upgraded to chrome 78.0.3904.70 and now when I run e2e tests in my angular 8 project my tests keep failing with the following error.
- Failed: No element found using locator: By(css selector, .configuration-step-body)

Executed 6 of 6 specs (1 FAILED) in 38 secs.
[11:12:58] I/launcher - 0 instance(s) of WebDriver still running
[11:12:58] I/launcher - chrome #01 failed 1 test(s)
[11:12:58] I/launcher - overall: 1 failed spec(s)
[11:12:58] E/launcher - Process exited with error code 1
Hi All, I am new to Protractor and plan to use it as my web application under test uses Angular.
However, when I am following the steps mentioned on their page: and try to run the sample test I am getting following error: E/launcher - SessionNotCreatedError: Unable to create new service: ChromeDriverService
I am using selenium standalone server v3.141.59 , ChromeDriver v76.0.3809.126, Chrome 76
Ya Bilal
@CrispusDH that was the last thing in my head, but thank you. appreciate it :)
Rakesh Sahu🇮🇳
Hi All, How to deal with below error  Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
I tried everything, Increased the timeout etc but this problem keeps coming, need permanent solution, so my team members who see the reports doesn't get confused if tcs are failed even though it gets passed all the time.
Hi All, how to wait for pageToLoad completely using promises? tried async/await but elements not loading completely. could someone plz help?
return driver.wait(until.elementLocated(expectedResult), 10000).then(async function () {
            await driver.wait(until.elementIsVisible(outwardTravelDate), 10000);
            let actualResult = await outwardTravelDate.getText();
            assert.equal(actualResult, expectedText);
Screen Shot 2019-10-28 at 12.25.18 PM.png
Vlad Ilin

It passes

it("delete competence", () => {
    const d = element.all("deleteIcon"));

But when I try to click. I get: NoSuchElementError: Index out of bound. Trying to access element at index: 0, but there are only 0 elements that match locator By(css selector, *[id="deleteIcon"])

it("delete competence", () => {
    const d = element.all("deleteIcon"));

Is somebody had such problems?

I have problems with browser.driver.manage().window().setSize(Width, Height);
the width is set if 500px
but for 501 it goes to 500
for 550 it goes to 523 pixels
Is this a bug
I use chrome 77.0.3865.120.
Logesh Kumar
Hi all,
any update on chrome 78 support by protractor 5.4.2 ?
this command helps you ./node_modules/protractor/bin/webdriver-manager update
you could type chrome version that you have at a machine
Gopi Krishna Sangepu
@Bram-diederik Hi passing as chrome options in protractor config works for me
'chromeOptions': {
'args': [
hi, is anyone using browsermob-proxy? I can't seem to get har entries when requests are made thru angular http proxy
@logeshk to get 78 to work for me, I manually update webdriver-manager inside protractor node_modules
Gopi Krishna Sangepu

Hi all,

is anyone tried packing the page objects to an npm package and consuming through the package.json. ?
As we current doing for the protractor and other node modules.

To give more context. I want to utilize my page objects across mutiple projects and i dont want the same page objects/common /wrapper functions exist in all the repos
any rumblings about a new version of protractor anytime soon?
Rahul sharma
Hello all, Could anyone please tell me about how to integrate protractor-cucumber framework with Amazon S3 to store and fetch the test data. Did anyone tried it before?