Search code examples
vbaseleniuminternet-explorerweb-scraping

Change zoom setting of IE for web-scraping with VBA


I am trying to do web scraping with VBA and have a following error:

Do

Dim driver As New webdriver
driver.Start '"ie"

Then enter image description here

I fixed "internet option" setting and reset settings to default. I also checked registry settings, but it was already set to 100%. However, every time I open IE, its zoom ratio is set to 200%. What codes can I add in VBA, or which setting should I change?


Solution

  • Maybe this is not a good solution but I connected the PC to the external monitor, which solved the problem.