Selenium + C# + Firefox + Zoom out

359 views
Skip to first unread message

Arto Kilponen

unread,
Apr 4, 2017, 5:12:27 AM4/4/17
to Selenium Users
Hi,

How do I zoom out a page using C# code against Firefox Gecko Driver thru Selenium? Visual Studio is 2017, but Firefox (version 48), Selenium and Gecko Driver can be updated if it matters something.

I found a lot of examples from internet, but not a single one seems to work. Either it is written for Java or then it uses some Keys.Chord that C# doesn't understand, at least not with the context (imports, packages, whatever) I had. So if your solution includes Keys.Chord, I'd need to know what all do I need to do/have/import to use Keys.Chord.

Thank you,
Arto Kilponen

Senthilkumar P

unread,
Mar 13, 2019, 1:58:49 AM3/13/19
to seleniu...@googlegroups.com
Hi,

Using 'Firefox profile' concept we could achieve Zoom out.

Please refer the below link:



Thanks,
Senthil


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/4045fc4a-5c62-4d18-8c6b-7a0282b01977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages