Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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
StanislavKharchenko
@StanislavKharchenko
@spmiller here is example provided by Keen how to use waitForAngular in native selenium-webdriver https://github.com/kyliau/angular-wait By the similar way you can integrate it into WDIO
12 replies
Shalu
@shalu0628
Hi All, can someone give an alternative to Enter Key code? await browser.actions().sendKeys(protractor.Key.RETURN).perform(); --- This code throws an unsupported error .. so am unable to proceed..
7 replies
Shalu
@shalu0628
Hi All, when performing a file upload, the upload file window remains open, and the test scripts gets terminated.. How do I close the upload file window?
StanislavKharchenko
@StanislavKharchenko
There are no ability to handle upload browser dialog by webdriver, since this dialog is a part of your OS (Windows/Linux etc). You can just to find some external libraries which have direct access to Windows API and close dialog by pressing esc. But my suggestion is to try don't open this dialog, but upload files using webdriver "sendKeys" into form field.
Shalu
@shalu0628
thank you @StanislavKharchenko
Shalu
@shalu0628
How do I get the handle to the next URL in protractor?
that is generated with an id ..
Mustafa DAĞTEKİN
@Desertt
Hello everyone when I build my automation system with protractor on the server
I see an error on console output
[11:02:37] I/local - Shutting down selenium standalone server.
[11:02:37] E/launcher - Error: TypeError: JSON.parse(...).map is not a function
I could not resolved it
can you help me ?
1 reply
image.png
StanislavKharchenko
@StanislavKharchenko
Could you please describe step by step how you run your tests?
and Protractor config
StanislavKharchenko
@StanislavKharchenko
According to your attached stack the problem is with cucumber-html-reporter. Pls try to switch it off and run again to check
Andy Jenkins
@andrewajenkins
Does anyone know how Protractor knows when a page load is triggered? I have a good solution for waiting for a page but is there a signal or something it checks for that indicates a button click, lets say, is going to route to a new "section" in the SPA? thanks
Andy Jenkins
@andrewajenkins
Nevermind, found what i needed above. thank you
Jan Molak
@jan-molak

Hi folks, I've just released protractor-cucumber-framework version 8.2.6 with Serenity/JS 2.32.2. Please make sure to update :-)

If you have any questions about Serenity/JS, please join https://gitter.im/serenity-js/Lobby

Puru-rs
@Puru-rs

Hi, When I am running the protractor script in the Linux box I am getting this error can anyone help me resolve this?
chrome version is 91

chrome config is like this:
directConnect: true,
chromeDriver: './../chromedriver',
//seleniumAddress: 'http://localhost:4444/wd/hub',,
capabilities: {
browserName: 'chrome',
loggingPrefs: {
performance: 'ALL'
},
chromeOptions: {
args: ['incognito'],
args: ['--headless', '--disable-extensions', '--disable-gpu', '--disable-dev-shm-usage', '--no-sandbox', '--window-size=1280,1024', "--log-level=3"],
prefs: {
download: {
prompt_for_download: false,
directory_upgrade: true,
default_directory: downloadPath
}
}
}
}

Error:
[13:42:56] I/launcher - Running 1 instances of WebDriver
[13:42:56] I/direct - Using ChromeDriver directly...
[13:42:56] E/launcher - spawn /var/lib/jenkins/workspace/QA/UIAutomation/AURA_Regression_BATCH6/chromedriver EACCES
[13:42:56] E/launcher - Error: spawn /var/lib/jenkins/workspace/QA/UIAutomation/AURA_Regression_BATCH6/chromedriver EACCES
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
[13:42:56] E/launcher - Process exited with error code 199

1 reply
StanislavKharchenko
@StanislavKharchenko
selenium-webdriver 4.0 released today!
1 reply
Mustafa DAĞTEKİN
@Desertt
Hello everyone I got an error
Error: SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 91
Current browser version is 94.0.4606.81 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
4 replies
Can you help me ?
Shalu
@shalu0628
Hi All, I am using this code to enter date - browser.executeScript("document.getElementById('clientDOB').value='10/02/2019'"); - but this value is not being saved.. Can someone please help?
7 replies
Jan Molak
@jan-molak

Hi folks, I've just published protractor-cucumber-framework version 8.2.7 powered by Serenity/JS 2.32.3.

If you have any questions about Serenity/JS itself, please join our community chat here on Gitter.

Shalu
@shalu0628
Hi All, I have a scenario -- where the dropdown box already contains a value (default -- auto-populated), I have to enter another data that is overwrite using protractor.. any one can help with how to go achieve this ?
Shalu
@shalu0628
TypeError: Cannot read property 'isPresent' of undefined
at ProtractorExpectedConditions.presenceOf
can someone please suggest a solution to resolve the above error?
StanislavKharchenko
@StanislavKharchenko
@shalu0628 Please provide code of your test where this failed
StanislavKharchenko
@StanislavKharchenko
Hi everyone! Angular updated their roadmap and it seems that they completed with E2E strategy and Protractor in Q3. I can't find anything regarding this "update" and can't contact with this team. Maybe Craig Nishina @cnishina knows something?
1 reply
Jan Molak
@jan-molak

Hi folks, I've just published protractor-cucumber-framework version 8.2.9 powered by Serenity/JS 2.32.5.

Please note:
Serenity/JS 2.32.5 is the last 2.x release, after which we're starting with 3.x RC. Exciting times! :-)

The focus of Serenity/JS 3.x is to help you to continue running your tests via Protractor, or transition to WebdriverIO, Playwright or other test runners should you choose to do so.

I'm planning to publish more tutorials in this space, so make sure to follow @SerenityJS on Twitter to stay up to date.

Usama Alaa
@usamagamea
Can i create chatbot with angular without using dialogflow or firebase
Shalu
@shalu0628
Can someone help me with -- how to handle an assertion error? The protractor code stops executing when there is an assertion error..
Shalu
@shalu0628
why does protractor throw timeout error when I run multiple tags?
When I use single scenario.. it runs completely.. Any help?
Puru-rs
@Puru-rs
Protracts is unable to find the shadow dom elements using chrome driver 96 and above any idea why it is not able to find?
2 replies
Jan Molak
@jan-molak

Hi all, I've just released protractor-cucumber-framework version 8.3.0 with Serenity/JS 2.33.0.
This release fixes an issue that prevented limiting the execution of test scenarios by line number a given scenario is on. See protractor-cucumber-framework/protractor-cucumber-framework#238

If you have any questions about Serenity/JS, please join https://gitter.im/serenity-js/Lobby

Tedi
@tediroca
Hi. Has anyone experience a Timed out receiving message from renderer: 300.000 error before? I'm getting that consistently in some of the specs, but odd thing is that it only happens when I run them in headless mode in a Linux instance. The same specs run perfectly if I run them locally in Windows with the same Chromedriver and Protractor versions.
5 replies
Stephen Greener
@sgreener
Has anyone got peek on tags '@startAtLogin' working in vscode?. I have managed to get peek working on the .feature file to the steps code, just cant seem to get the tags working.
Puru-rs
@Puru-rs

Hi i am getting this error:
E/launcher - Error: TypeError: by.shadowDomCss is not a function

can some one please help

to locate shadow dom I am using
https://www.npmjs.com/package/query-selector-shadow-dom

8 replies
shwetha25
@shwetha25
Hi i am getting an assertion error- "Expected false to be truthy." can anybody help.
Tedi
@tediroca
Given the updated Angular roadmap (https://angular.io/guide/roadmap) where it's stated that "Update our e2e testing strategy" has been "Completed Q3 2021", I guess there isn't much hope on Protractor being taken back to life, or seeing any migration strategy. What's the general feeling about it? We were holding our breath thinking that there may be some type of transition, but it may be about time to look for alternatives.
Jan Molak
@jan-molak

Hey all , I've just published protractor-cucumber-framework version 8.4.2 powered by Serenity/JS 2.33.5 (changelog)

Any questions? Let me know on the Serenity/JS Community Chat

Stephen Greener
@sgreener
is it possible to get the locator from an element (what locator you used to locate that element)
Stephen Greener
@sgreener
figured it out ... elmFinder.locator();
Stephen Greener
@sgreener
Is there a way to get the current browser.waitForAngularEnabled() setting?
When called, it sets it to true/false. But is there a way to see what that value is?
Stephen Greener
@sgreener
browser.ignoreSyncronization seems to show me
TestSV
@TestSV2019
Hey guys, someone knows how to handle 2 factor authentication with google ? I have a portal using this 2F auth google and i cant see a way to bypass it
Puru-rs
@Puru-rs
image.png
Hi guys, can anyone tell me how to disable the grant permission for clipboard read-write permission which we get when user is perform ctrl+c and ctrl+v
Jan Molak
@jan-molak

Hey all, I've just published protractor-cucumber-framework version 8.4.3 powered by Serenity/JS 2.33.9 (changelog)

Any questions? Let me know on the Serenity/JS Community Chat

Amruta Hulagur
@Amruta101998
Hey can anyone let me know how we can use protractor in IntelliJ IDE or visual studio for testing
1 reply