I'm getting google captcha while running my ui automation test cases in the pipeline using webdriverIO - captcha

I'm getting google captcha while running my ui automation test cases in the pipeline. In local and docker desktop it is working fine.Not able to resolve this issue in WebdriverIO.

Related

Is that possible test flutter apps with WebdriverIO?

Can I test flutter app (for example in apk) using WebdriverIO?
I saw there is a flutter driver for Appium. Is it supported with WebriverIO as well? How is it handled?
Yes you can. You have to use Appium Automation to interact with your Flutter mobile app.
Setup your own WebdriverIO Appium project, or start from a featured boilerplate, as such.
Integrate the appium-flutter-driver into your project and start using it inside your test cases.
LE: Alternatively, you can try SauceLab's Appium-Flutter-Driver implementation using WebdriverIO. See it here.
You can find multiple examples online for configurations. A simple Google search even gives you a full video tutorial on how to setup everything.

Unable to test against Safari using v1.18.0

I just updated to TestCafe v1.18.0 and I followed the upgrade guide. I am able to run tests against Chrome and Firefox, as the system correctly prompted me if I wanted to let TestCafe control these, but this is not happening for Safari, so I am unable to test against it. I don't see any way to manually add an entry in the Automation tab either.
Automation Tab entry for TestCafe Browser Tools
Edit: I managed to add it using the remote option for TestCafe and pasting the URL into Safari, but even after that, npx testcafe safari is unable to launch Safari. I'm using an M1 Mac and macOS Monterey 12.0.1
TestCafe 1.18.0 does have the Safari-related issue. It has already been fixed. Please update TestCafe to v1.18.1.

Safari on Browserstack now working correctly

I am automating a simple login script through Browserstack using Selenium.
The script I have written works on chrome windows, chrome mac os, and Android Samsung. However, when I run the script through apple iPhone 11 or mac os safari I get an error message saying can not locate
driver.findElement(By.xpath("//*[contains(text(),'Log in')]")).click();
Apart from the device, I am automating nothing else changes.
What is the fix for this?
If the test returned "cannot find element" on the device, I'll recommend changing the element locator strategy.
You could otherwise also try to inspect the app against the same browser manually via Live: https://live.browserstack.com/
This could help you narrow down if the element locator is correct.

How do I handle javascript error in testcafe

I'm using testcafe for test automation of angular based web application but my test is failing due to javascript error in browser console. I have tried to skip javascript error by using '--skip-js-errors' but it's not working so is there any way to handle it so test run without any error?
If you are passing '--skip-js-errors' in the terminal, please try this instead.
Add "skipJsErrors": true in testcaferc.json of your e2e project and retry.

Can we automate Electron app with protractor?

There is a application which is built on top of electron.js acts as desktop application, is automated using protractor due to slight changes Dev team is providing build to QA as .exe file.
So I want to use the existing scripts.
Please let me know if there is any possibility that Electron app can be integrated with protractor framework, if not suggest any other open source tool which can we used to automate Electron app other than Spectron.