Closed aryanm12 closed 3 years ago
Related to #314. Only reproduces with client libraries that are using firstMatch.
Related to #314. Only reproduces with client libraries that are using firstMatch.
Could you please let us know, when can we expect this feature to be added/released. As we really need to move to selenium 4 as per our work demand.
@aryanm12 this is open-source. If you wish this implemented faster - you could contribute.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have the same problem, may be who solved?
@SaveliyShur this was implemented in latest release. However there is: https://github.com/aerokube/ggr/issues/354
@SaveliyShur this was implemented in latest release. However there is: #354
I see in docker logs: I have last version ggr and selenoid docker image. And I use C# with Selenium 4.1.0. I configure remoteWebDriver with:
var options = new ChromeOptions();
foreach (var opt in settings.BrowserApplicationSettings.Options)
{
options.AddArguments(opt);
}
options.AddUserProfilePreference("profile.default_content_setting_values.popups", 1);
options.AddUserProfilePreference("profile.default_content_setting_values.clipboard", 1);
options.AddUserProfilePreference("profile.default_content_setting_values.notifications", 2);
options.AddAdditionalCapability(CapabilityType.EnableProfiling, true, true);
options.SetLoggingPreference(LogType.Browser, LogLevel.All);
options.SetLoggingPreference(LogType.Driver, LogLevel.All);
options.SetLoggingPreference("performance", LogLevel.All);
options.AddAdditionalCapability("sessionTimeout", "10m", true);
options.AddAdditionalCapability("enableVNC", true, true);
options.AddAdditionalCapability("screenResolution", "640x1024", true);
options.AddAdditionalCapability("name", this.scenarioContext.ScenarioInfo.Title, true);
var capabilities = options.ToCapabilities();
var selenoidUrl = new Uri(settings.SelenoidUrl);
var httpCommandExecutor = new HttpCommandExecutor(selenoidUrl, this.browserCommandTimeoutInSec, true);
using (httpCommandExecutor)
{
this.DesktopDriver = new RemoteWebDriver(httpCommandExecutor, capabilities)
{
FileDetector = new LocalFileDetector(),
};
var commandInfo = new HttpCommandInfo(HttpCommandInfo.PostCommand, "/session/{sessionId}/se/log");
httpCommandExecutor.TryAddCommand(DriverCommand.GetLog, commandInfo);
}
I try configure with BrowserVersion And other settings but i cannon set browser at all. My Selenoid configure:
I try with empty defaultVersion and version number, and try delete them. Can you help me some advice?
If i used Selenium < 4.0.0 - It's OK
@SaveliyShur enableVNC
and other Selenoid-specific capabilities should live under selenoid:options
key.
Hi @aerokube Team,
We have recently upgraded the selenium version to 4.0. After this, the test cases are failing with the below-mentioned error:
Also, we checked the ggr container logs and found below errors as attached:
We ran the test cases in our local system by directly pointing to the selenoid node and skipping the ggr router, and the test cases are running fine with this setting. Also, they are running fine locally.
Version of containers used in GGR router:
Version of containers used in selenoid nodes:
Can you please look into it and help us resolve this issue.