To zoom out the webpage to 60% you can use either of the following line of code :
driver.ExecuteScript "document.body.style.transform='scale(0.6)';"
or
driver.ExecuteScript "document.body.style.zoom='60%';"
More Related Contents:
- Does VBA have Dictionary Structure?
- Get reference to additional Inbox
- VBA, ADO.Connection and query parameters
- Save text file UTF-8 encoded with VBA
- WebDriverException: Message: invalid argument: can’t kill an exited process with GeckoDriver, Selenium and Python on RaspberryPi3
- Outlook VBA – Run a code every half an hour
- Is it possible to pass parameters programmatically in a Microsoft Access update query?
- Hidden features of VBA
- Difference between Visual Basic 6.0 and VBA
- Download attachment from Outlook and Open in Excel
- What is the most efficient/quickest way to loop through rows in VBA (excel)?
- VBA: Selecting range by variables
- Use autofilter on more than 2 criteria
- How do I display a messagebox with unicode characters in VBA?
- Open an html page in default browser with VBA?
- Open a workbook using FileDialog and manipulate it in Excel VBA
- Rounding a number to the nearest 5 or 10 or X
- Vba Excel do vlookup from a closed file
- excel hyperlink to nothing
- How to add headers to a multicolumn listbox in an Excel userform using VBA
- Distinguish visible and invisible attachments with Outlook VBA
- Use getElementById on HTMLElement instead of HTMLDocument
- VBA Macro crashes after 32000 rows
- How to break a long string into multiple lines
- How to fix python-selenium error “connection refused” when initializing a selenium webdriver?
- finding latest file in a folder and opening it (vba access)
- reading and writing a csv file using FileSystemObject
- How do I get a list of unique values from a range in Excel VBA?
- How to get selected value in multicolumn listbox
- Query my excel worksheet with VBA