Selenium automation PAF - paceautomationframework

I am looking for automation testing on iOS, have got to know of ipaf.
Will Pace Automation Framework support automation on latest firefox browser.
Any idea anyone?

in the init configuration file please use below configuration to execute your test in firefox.
browser=FireFox

PAF supports FireFox browser, so it should work on the latest FireFox browser.

Related

PhpStorm looks for Google Chrome when I set up Firefox

PhpStorm 2021.2.2 on Ubuntu 20.04. I set up a Run Configuration as follow:
But when I launch this Run Configuration I get:
I don't understand why it look for Google Chrome if I selected Firefox as a browser.
Sadly that is correct / no error here.
JavaScript debug is done with Chrome-based browsers only (has been like that for quite some time now).
https://www.jetbrains.com/help/phpstorm/2021.2/run-debug-configuration-javascript-debug.html
https://www.jetbrains.com/help/phpstorm/2021.2/debugging-javascript-in-chrome.html
Debugging of JavaScript code is only supported in Google Chrome and in other Chromium-based browsers.
To debug JavaScript using Firefox you need to use Firefox Remote type of Run/Debug Configuration (need to manually create and use it) and enable Remote Debugging in Firefox in advance. https://www.jetbrains.com/help/phpstorm/2021.1/debugging-javascript-in-firefox.html has all the info.
A ticket to watch after: https://youtrack.jetbrains.com/issue/WEB-14987
NOTE: the aforementioned Firefox Remote type of Run/Debug Configuration is no longer present in current 2021.2 version. The last version that has it is 2021.1.
In addition to the above, from https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010846880/comments/360003174860
Unfortunately, there's nothing we can offer for debugging in Firefox now :(
We used to support Firefox Remote Debugging (but without source maps) through the Firefox Remote run configuration, but our solution doesn't work in the latest Firefox versions due to changes in the protocol, and there doesn't seem to be an easy way to fix it. We've made some progress recently, but there are still some blocking issues.
Related tickets:
https://youtrack.jetbrains.com/issue/WEB-45986
https://youtrack.jetbrains.com/issue/WEB-48076
https://youtrack.jetbrains.com/issue/WEB-2337

How to configure headless browser using protractor on windows so that it can be run using team city without any GUI resolution issues?

How to configure headless browser using protractor on windows so that it can be run using team city without any GUI resolution issues?
Currently I am using chrome browser to run my UI automation test but at some page I am facing element not found issue due to resolution issue.
So I wanted to go for an headless browser.
Thanks.
Phantomjs is officially discontinued, so you must use headless Chrome. As for the instructions on how to set it up, follow instructions
Getting started with headless chrome can be found here

How to run safari in protractor using selenium 2.47.1 jar?

How to run safari 5.1.7 browser(windows machine) in protractor using selenium 2.47.1 jar?
I need to run safari 5.1.7 browser(windows machine) in protractor using selenium 2.47.1 jar.
Can someone help on this?
From where I need to install the safari driver?(Please provide the link)
I don't think its possible. Safari driver doesn't support safari browser on WINDOWS machine and is applicable only for OS X. Here's the link that explains it
Platforms supported by Selenium
. However if you want to try it for OSX then here's a detailed wiki page for safari driver usage with selenium -
Safari Driver with Selenium
You must be able to use it for protractor too. Download the extension file SafariDriver.safariextz for safari from the above mentioned link and then install it. Only difference would be to use it with Javascript. Add in the browser name in your conf.js file -
'browserName': 'safari'
If you are still facing issues, please refer to this detailed link for help. Hope it helps.

AT-SPI for Google Chrome in Linux

I have been finding the way to get the urls of opened tabs of the browsers of Firefox and Chrome using Accessibiltiy.
I found that Firefox can get the urls using at-spi, but Chrome can get the url of focused tab a few months ago.
I have gotten a new result recently during the test. It is that I cannot access the child of Chrome using Accessibility, so I don't even know the url of focused tab.
"atspi_accessible_get_child_count" returns 0.
But as I said earlier, it worked on Chrome 31 version.
According to Assistive technology support, there are not tools to test accessibility in Linux.
Chrome does not support Accessibility anymore?
There is the answer in Chrome Accessibility.
That says accessibility of Chromium on desktop Linux is not really supported currently.
You need to start Chrome like this:
ACCESSIBILITY_ENABLED=1 chrome --force-renderer-accessibility
Both of these are necessary. For electron apps, ACCESSIBILITY_ENABLED=1 seems to be enough, at least that was the case with VSCodium and Signal Desktop.
On Windows, this is not necessary because a11y enables itself once a known screen reader is detected (afaik), but Orca under Linux is apparently not known.

Mobile version Google Chrome on PC (for developers)

Could you suggest how best to test the site for Google Chrome mobile version...? I know that Opera Mobile and Mozilla Firefox are emulators for the desktop, but I have not seen this for Chrome. Maybe I'm just looking bad?
for example:
Mozilla Firefox - http://www.mozilla.org/en-US/mobile/ (fennec)
Opera - http://www.opera.com/developer/tools/mobile/
Pretty old question but in case someone else hit it in future;
Best solution i found is this;
https://developers.google.com/chrome-developer-tools/docs/remote-debugging?hl=tr
And the best part is, its working!
PS: If "adv devices" command doesn't work make sure that you have the USB driver for your phone is installed on your PC.
Google Chrome Canary can be a better replacement for this purpose. I use Chrome Canary for testing purpose.
https://developers.google.com/chrome-developer-tools/docs/mobile-emulation
It's easy to browse mobile version of nay site using browsing agent switcher, there are browser agent switcher for all browsers, more read here about browsing mobile version of site on desktop PC.

Resources