gouri1
January 7, 2021, 10:56am
1
@davert : I wanted to execute codeceptjs automation suite on safari browser.
However, when i tried executing scripts in safari browser on windows 10, execution is not starting instead i am getting following error
Is there any other configuration required to execute scripts on safari browser?
OR
Does it support execution only on Mac machine(Safari browser)
Please provide your inputs.
Thanks
yevhen
January 7, 2021, 12:55pm
2
Hey @gouri1
Apple no longer offers Safari browser and updates for Windows. So, currently, this is not possible to run a test in Safari on Windows.
But, you can try Playwright which provides the ability to run a test in the WebKit engine on Windows.
WebKit is the web browser engine used by Safari
gouri1
January 8, 2021, 8:13am
3
@yevhen Thank you so much for your inputs.
I will try with playwright as per your suggestion.
@yevhen I have used playwright with WebKit.I have faced an issue wherein if the element is present in an iframe then the playwright shows element not visible.
Can you please help with this?
Configured playwright with test cases and ran the automation suite.
There is a major issue observed :
The playwright does not support iframe and element not visible error is observed.
Tried changing different playwright supported browsers like chromium, Firefox, and WebKit, but still, the issue persists.
[playwrigjt]
“Note: this functionality is working fine with codecept config file” also element is seen in view port.
The same issue with webkit image from Selenoid (Moon) on Linux machine - Cannot read property ‘url’ of undefined for Webdriver helper
1 Like