This is a migrated thread and some comments may be shown as answers.

ResizeContent() is not working for Chrome

1 Answer 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chunks
Top achievements
Rank 1
Chunks asked on 11 Jun 2014, 10:29 PM
Hi ,

I am trying to resize a chrome browser instance using Browser.ResizeContent() , but it doesn't seem to be working. Any idea why?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 16 Jun 2014, 12:43 PM
Hello Chunks,

Thank you contacting us.

It seems you are using an old version of Testing Framework. We have already fix this issue. Please go ahead an upgrade your Testing Framework to the latest version.

If you don't want to upgrade it you can use as a workaround for resizing Chrome

ActiveBrowser.Window.Move(new System.Drawing.Rectangle(0, 0, 1024, 768), false);

Hope this helps.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Chunks
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or