selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Safari 9.0.3 - Unable to install Selenium Extension in this version of Safari

Open manjunathscp opened this issue 10 years ago • 18 comments

Kindly advice what all should I have to Check for this.

Previously I had Safari version 9 and it had Selenium 2.45 extension installed. On update of Safari to 9.0.3, I uninstalled old extension and tried to install Selenium 2.48 extension. I'm getting the pop up if this extension is from trusted source or not. But on clicking Trust, nothing happens - no extension is installed.

manjunathscp avatar Jan 28 '16 07:01 manjunathscp

+1

AdamAJeng avatar Jan 30 '16 12:01 AdamAJeng

+1 This looks like an issue with OSX safari though, since I am also not able to install other 3rd party plugins such as "ClickToPlugin".

Already tried to remove all cache and library data like suggested over here: http://www.hawkdive.com/2015/12/unable-to-install-safari-extension.html but to no avail..

I found alot of people having similar problems with different Safari extensions

markozz avatar Feb 01 '16 13:02 markozz

I found a workaround for installing Webdriver on Safari 9.0.3!

The problem is the click on 'trust' doesn't seem to be registered, so now I hit 'trust' by keyboard: tab, space.

For this you first have to enable the Full Keyboard Access option in OSX preferences: keyboardprefsallcontrols

DV3D avatar Feb 29 '16 10:02 DV3D

@DV3D Hi, your method didn't worked for me, still nothing happens on clicking 'trust' either way

dimashabalin avatar Mar 01 '16 09:03 dimashabalin

Sorry to hear it's not working for you, I got it working on multiple MacBooks this way. Just to double check: did you highlighted 'trust' with tab-key, then pressed spacebar (not enter)?

DV3D avatar Mar 01 '16 13:03 DV3D

Sure, doing it exactly like you said - tab to highlight 'trust' then space (enter not even working). Popup disappears leaving me with empty extensions dialog. Extensions from market installs ok, but not this selenium webdriver extension

dimashabalin avatar Mar 01 '16 14:03 dimashabalin

Yes. I tried the solution suggested above. No luck. Still I'm ending up with empty extension box. On 1 Mar 2016 19:54, "Dmitry Shabalin" [email protected] wrote:

Sure, doing it exactly like you said - tab to highlight 'trust' then space (enter not even working). Popup disappears leaving me with empty extensions dialog. Extensions from market installs ok, but not this selenium webdriver extension

— Reply to this email directly or view it on GitHub https://github.com/SeleniumHQ/selenium/issues/1553#issuecomment-190739961 .

manjunathscp avatar Mar 01 '16 15:03 manjunathscp

I can confirm that indeed the solution that @DV3D proposed works well, however not when using remote access (for example I was using NoMachine and it didn't work, however when doing it with a physical keyboard attached to the computer it worked and extension got installed.

mstrelex avatar Mar 02 '16 14:03 mstrelex

@DV3D @mstrelex Thanks guys, now its worked. One more point to hate Safari =) @manjunathscp you should try to do the trick physically not using remote access

dimashabalin avatar Mar 02 '16 17:03 dimashabalin

@DV3D @mstrelex @dimashabalin Thanks a lot guys. Took a lot of time to coordinate and get this done. But the solution worked. :8ball:

manjunathscp avatar Mar 21 '16 07:03 manjunathscp

@DV3D @mstrelex @dimashabalin Hi guys, i can't install safaridriver extension too. and i press trust with no extension installed. i tried to use the solution which you guys pointed out and it still not working for me. Besides, i can only doing the operation using remote access. is there other workaround for me? The issue has been confusing me for a long time. Many thanks in advance!

churey avatar Mar 23 '16 08:03 churey

BTW, i tried to use the virtual keyboard of the remote mac machine and press tab and space key to install the extension. it still not working for me.

churey avatar Mar 23 '16 08:03 churey

Updated Safari to 9.1 - same stuff.

vania-pooh avatar Mar 29 '16 11:03 vania-pooh

For me, the proposed workaround with the keyboard did not work on OSX 10.11.5 and Safari 9.1.1. I was able to install it just fine when I started OSX in safe mode (hold down shift key during boot)

DISCLAIMER: This solution only works with a physically attached keyboard - it does not work when OSX is accessed through remote desktop (even if was set to boot up in safe mode).

Hope this helps someone else

dbrack avatar Jun 07 '16 06:06 dbrack

@dbrack any thoughts how to make it work woth remote desktop? I have OSX Virtual machine and issuing the same issue from the original note.

gpetrov-jensen avatar Sep 07 '16 17:09 gpetrov-jensen

@gpetrov-jensen I haven't tried that. From what I've experienced, though, I would say it's not going to work.

dbrack avatar Sep 07 '16 20:09 dbrack

@gpetrov-jensen Did you get it work for remote desktop? I'm facing same problem...

zhaihm avatar Nov 14 '16 07:11 zhaihm

Plugging a mouse directly into the Mac machine, then clicking 'Trust' did in fact work for me. Thanks for the tip

cafshari avatar Mar 16 '17 13:03 cafshari