15,050
edits
No edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
[https://www.selenium.dev/ SeleniumHQ Browser Automation] ([https://github.com/php-webdriver/php-webdriver php-webdriver/php-webdriver: PHP client for Selenium/WebDriver protocol. Previously facebook/php-webdriver]) | [https://www.selenium.dev/ SeleniumHQ Browser Automation] ([https://github.com/php-webdriver/php-webdriver php-webdriver/php-webdriver: PHP client for Selenium/WebDriver protocol. Previously facebook/php-webdriver]) | ||
== How to | == How to resolve the selenium errors == | ||
* Checking the standalone selenium server is running or not {{kbd | key=<nowiki>ps aux | grep selenium</nowiki>}} on {{Linux}} | * Checking the standalone selenium server is running or not {{kbd | key=<nowiki>ps aux | grep selenium</nowiki>}} on {{Linux}} | ||
| Line 34: | Line 34: | ||
* Ensure the version matches your installed Chrome browser. Replace the existing ChromeDriver file | * Ensure the version matches your installed Chrome browser. Replace the existing ChromeDriver file | ||
== How to resolve macOS says the *.app is damaged. What now? == | |||
Error message<ref>GoogleChromeLabs/chrome-for-testing https://github.com/GoogleChromeLabs/chrome-for-testing</ref><ref>[https://errerrors.blogspot.com/2023/07/how-to-fix-google-chrome-for-testing.app-is-damaged-and-cannot-be-opened.html 解決「Google Chrome for Testing.app」已損毀,無法打開。 你應該將其丟到「垃圾桶」的問題]</ref> | |||
<pre> | |||
“Google Chrome for Testing.app” is damaged and can’t be opened. You should move it to the Trash. | |||
</pre> | |||
Solution | |||
* Open the terminal, and key-in the following command: | |||
<pre> | |||
xattr -cr 'Google Chrome for Testing.app' | |||
</pre> | |||
== References == | == References == | ||