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

Telerik TestFramework - CaptureBrowser on Firefox v. 78.0.2 (x64)

7 Answers 22 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tomas
Top achievements
Rank 1
Tomas asked on 23 Jul 2020, 07:29 AM

Hi,

 

I'm experiencing troubles trying to capture screen of the browser Firefox v. 78.0.2 x64. It always captures empty screen, which does not even look simillar to the browser looking. Please see the attached picture.

I'm calling

            Log.CaptureBrowser(ActiveBrowser);

And I have also tried 

            ActiveBrowser.WaitForPageLoad();

            Log.CaptureBrowser(ActiveBrowser);

 

I have tried the same using Edge Chromium and it worked correctly.

 

Thank you for any advice!

 

Regards

Tomas

7 Answers, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 23 Jul 2020, 03:25 PM

Hello Tomas,

That is certainly not expected and I tried to reproduce it on my end, by calling the same method. It worked correctly on my machine both on Firefox and Edge Chromium.

I will need your help to gather more details about your environment, because that might be the key to resolving this issue. Please let me know what is the exact Windows version and build that you are using.

I am looking forward to hearing from you.

Regards,
Plamen Mitrev
Progress Telerik

0
Tomas
Top achievements
Rank 1
answered on 23 Jul 2020, 04:19 PM

Hello Plamen,

I'm using Win10 x64 version 1903 Build 18362.959. Do you think that upgrade to 2004 version could help?

I'm also using the latest Telerik add-on version in Firefox.

 

Let me know if you need any more information.

 

Regards

 

Tomas

0
Plamen Mitrev
Telerik team
answered on 24 Jul 2020, 08:36 AM

Hi Tomas,

Thank you for your quick response. We investigated this further and it looks like Firefox have added some new rendering engine, which is not added to all users at the same time. Actually, this new way of rendering is based on the hardware that you have.

Please set the "gfx.webrender.enabled" to false and run the test again to capture the browser. Let me know if that makes any difference in the behavior.

Alternatively, you can capture the whole desktop, if that works for you. The code for that is "Log.CaptureDesktop();".

I am looking forward to hearing from you and continue our discussion.

Regards,
Plamen Mitrev
Progress Telerik

0
Tomas
Top achievements
Rank 1
answered on 24 Jul 2020, 02:27 PM

Hi Plamen,

 

thanks for your reply. That was set as default value on the browser, so this is not the solution. Capturing whole desktop would be a possibility, however not desired one. If there is no other option, I will have to do that anyways.

 

Regards

Tomas

0
Tomas
Top achievements
Rank 1
answered on 27 Jul 2020, 12:56 PM

Hi Plamen,

I have tried to execute the same code on Windows server 2016, the same Firefox version and there it works. Do you have any other ideas how to solve the issue on Win10x64? We also checked that the issue is present using another device with Win10x64 v.2004.

 

Regards

 

Tomas

0
Tomas
Top achievements
Rank 1
answered on 28 Jul 2020, 03:09 PM
One more information - the bad picture has only 14kB, while the correct one over 800kB.
0
Plamen Mitrev
Telerik team
answered on 29 Jul 2020, 11:42 AM

Hi Tomas,

Thank you for sharing more details regarding this issue. We managed to reproduce it locally with Windows 10 version 2004 and our engineering team will look into it further. I created a public bug report on your behalf and you can vote for it and follow it for more detail on the resolution.

At this point we have not found a workaround and this issue will probably need some changes to our code. We have an upcoming release for early August, but since we are too close to the release, I can not promise that it will be fixed for this release. Please consider the possibility to capture the desktop, until this issue is fixed.

Thank you for your help in determining the exact environment to reproduce this behavior. Please do not hesitate to contact us again, if you have any follow up questions or concerns.

Regards,
Plamen Mitrev
Progress Telerik

Tags
General Discussions
Asked by
Tomas
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Tomas
Top achievements
Rank 1
Share this question
or