c# 4.0 - How to control zooming of browser using c# code -


i using selenium , application writing code has issues. find login object have zoom in 30% approx. , want control using c# code. so, can me this?

you should send hotkeys (ctrl+plus) zooming it:

webelement myrootelement = driver.findelement(by.tagname("html"));  new actions(driver)     .sendkeys(myrootelement, keys.control, keys.add, keys.null)     .perform(); 

Comments

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -