Unable to install Chrome extension through command-line on Mac OS X - macos

I'm trying to install Chrome extension through command-line to the Google Chrome on Mac OS X:
open /Applications/Google\ Chrome.app --args --install-from-webstore=extension_id
Google Chrome causes a crash
This operations was successfully on Windows:
chrome.exe --install-from-webstore=extension_id

Related

How can I enable the web-bluetooth Debug Logs on Mac?

I'm attempting to file a bug for web bluetooth. I attempted to enable the Chrome Debug Logs on Mac, but the instructions on the following site may be out of date.
https://www.chromium.org/developers/how-tos/file-web-bluetooth-bugs/
I tried to follow these instructions.
Chrome logs
Quit any running instance of Chrome.
Launch /Applications/Utilities/Terminal.app
At the command prompt enter: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-logging=stderr --vmodule=bluetooth=2
I expected to see the command complete successfully and begin viewing logs on
chrome://bluetooth-internals/#debug
When I run the command in Terminal, I receive the following response.
zsh: no matches found: --vmodule=bluetooth=2
MacOS Monterey Version 12.6.3
Chrome Version 109.0.5414.119 (Official Build)(x86_64)

Mac OS Nativescript Sidekick UI flickering

My host OS is Windows 10 and I have installed Mac OS Mojave on it it with using Vmware. My pc's GPU is Intel HD 4600. It is on board. Screen resolution is 1366 x 768px and it is LCD. I have mounted darwin.iso for installing wmvare tools. Mac OS is working good. But nativescript sidekicks UI is flickering as loop. Other app UI have not any problem. I have tried it on High Sierra too but result is same
EDIT
You can make a script this command open -a NativeScript\ Sidekick --args --disable-gpu as with link instructions
You try to run Sidekick in a Terminal by using this command.
open -a NativeScript\ Sidekick --args --disable-gpu

MacOS Sierra - no /usr/bin/safaridriver

I am very new to mac and I'm trying to start first selenium script on safari. For all I know, browser extension is not supported anymore and safaridriver should be defaultly installed by apple, also for MacOS Sierra. According to Apple documentation I should find it in /usr/bin/safaridriver, but on my mac it looks like there's no usr, bin diretories. Also I can't find safaridriver. Is it possible that I don't have those directories at all and webdriver file? I already installed python3, selenium and enabled remote automation in safari browser. But the problem with webdriver remains...
try this:
On Mac desktop:
click: 'Go'
Click: 'Go to folder'
Input: '/usr/bin'
Click: 'Go'
You bin folder should open, the safari driver is located there

Can't create google chrome driver on Mac for Geb test

I am using Geb to run a Grails function test. I want to use the Chrome driver, I follow these instructions:
https://code.google.com/p/selenium/wiki/ChromeDriver
I install the google chrome driver at:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
on my mac.
I run the test with the switch
-Dwebdriver.chrome.driver="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
from eclipse.
When I run the test I get:
Caused by: java.lang.IllegalStateException: The driver executable does not exist: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
If I leave out the switch I get:
The path to the driver executable must be set by the webdriver.chrome.driver system property;
If I leave out the quotes I get:
java.lang.IllegalStateException: The driver executable does not exist: /Applications/Google\
If I keep the quote and leave out some of the slashes
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
I get:
org.openqa.selenium.WebDriverException: chrome not reachable
(Driver info: chromedriver=2.3,platform=Mac OS X 10.8.3 x86_64) (WARNING: The server did not provide any stacktrace information)
any ideas?
First you need to install both the driver and the browser. Then webdriver.chrome.driver system property has to point at the driver and not the browser.

Installing add-on in Firefox 22+ globally on OS X

How do I install an add-on globally in Firefox 22+ on Mac OSX? There have been so many changes to the add-on API and directory structures in the past year nothing I have found seems to work.
Have you tried this approach?
To install an extension to be used by all users on Mac OS X, copy it to:
/Library/Application Support//Extensions//
For example, if you've created a standalone application for Mac OS X that includes a plugin for Firefox, your installer would extract its extensions files to the following folder:
/Library/Application
Support/Mozilla/Extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{dba45d40-f69e-11dc-95ff-0800200c9a66}
Where {ec8030f7-c20a-464f-9b0e-13a3a9e97384} is Firefox's application ID,
and {dba45d40-f69e-11dc-95ff-0800200c9a66} is the extension's ID.
Source : Installing extensions

Resources