문제

I know it is possible to change the default download directory, etc. by passing in a hash of options to Google or Firefox or, here, Internet Explorer.

Is there a way to launch IE in compatibility mode by default?

도움이 되었습니까?

해결책

If you use the watir gem, you will find that it offers a class Watir::IE.

The Watir::IE class provides a set_options(options) method, which will allow you to specify the options to be used when creating a new Watir::IE instance.

I don't have a handle on the exact options to pass, buit I will continue to research. If I find it, I will edit this answer. If someone else knows, hopefully, they will edit this answer with the details.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top