Open bugboogie666 opened 2 years ago
Have you tried setting the viewport in for headless mode?
using System.Drawing;
var client = new WebClient(TestSettings.Options); if (TestSettings.Options.Headless) client.Browser.Driver.Manage().Window.Size = new Size(1920, 1080);
Question
What is your question? My script is setting entity fields on the product form. When this field (e.g. contract length) is set, there is a JSscript calling async operation(code from backend) to perform some calculations on the fly within the form. Setting this field works perfectly when I use selenium and easyrepro in non-headless mode. But with using headless options I am getting this error
dialog with the message "Cannot read properties of undefined(reading 'ResultJson')" is shown for me.
Versions: `<?xml version="1.0" encoding="utf-8"?>