aerokube / selenoid-ui

Graphical user interface for Selenoid project
https://aerokube.com/selenoid-ui/latest/
Apache License 2.0
305 stars 76 forks source link

Is it possible somehow to run Safari on Windows/Linux? #498

Closed VladyslavZagorodnyi closed 7 months ago

VladyslavZagorodnyi commented 1 year ago

I'm wondering if there is a possibility to run tests in Safari on Windows or Linux (Not Mac) machine? If you - pls provide an example.

vania-pooh commented 1 year ago

@VladyslavZagorodnyi no official Safari binaries for recent versions exist for Linux \ Windows. We have browsers/safari images built from WebKit source code (https://hub.docker.com/r/browsers/safari). This is not a true Safari but browser engine is the same.

VladyslavZagorodnyi commented 1 year ago

@vania-pooh , thanks, is there some guide which describe how to use it? (if yes, pls share)

vania-pooh commented 1 year ago

@VladyslavZagorodnyi you just add Safari images to browsers.json as other images like Chrome.

VladyslavZagorodnyi commented 1 year ago

@vania-pooh I added safari to browsers.json image but when I run tests I see this: image maybe something is not correct?

aandryashin commented 1 year ago

Try to change path to "/".

пт, 14 окт. 2022 г., 13:27 Vladyslav Zagorodnyi @.***>:

@vania-pooh https://github.com/vania-pooh I added safari to browsers.json [image: image] https://user-images.githubusercontent.com/29700638/195825269-72406348-c6d5-4484-8aee-6f0e99a9beb4.png but when I run tests I see this: [image: image] https://user-images.githubusercontent.com/29700638/195825467-bd81f025-8149-4391-960b-6dbed77620a9.png maybe something is not correct?

— Reply to this email directly, view it on GitHub https://github.com/aerokube/selenoid-ui/issues/498#issuecomment-1278813670, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKY23M6BFOUDQUYWHTD22DWDEYQHANCNFSM6AAAAAARDJABUQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

VladyslavZagorodnyi commented 1 year ago

@aandryashin Tried to add / to path at "image" but still failed image

aandryashin commented 1 year ago

please change

"path": "/wd/hub" to "path": "/"

in browsers.json

пт, 14 окт. 2022 г., 13:40 Vladyslav Zagorodnyi @.***>:

@aandryashin https://github.com/aandryashin Tried to add / to path at "image" but still failed [image: image] https://user-images.githubusercontent.com/29700638/195827770-c5716d38-89a7-4f07-b471-865800d80499.png

— Reply to this email directly, view it on GitHub https://github.com/aerokube/selenoid-ui/issues/498#issuecomment-1278831830, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKY23MYTO5WNIQBHFE22I3WDE2AHANCNFSM6AAAAAARDJABUQ . You are receiving this because you were mentioned.Message ID: @.***>

VladyslavZagorodnyi commented 1 year ago

@aandryashin Unfortunately nothing changed image

vania-pooh commented 1 year ago

@VladyslavZagorodnyi you should use RemoteWebDriver instead of SafariDriver.

v84a commented 1 year ago

@aandryashin Unfortunately nothing changed image

You still need to revert back / prefixed to browser image name.

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.