Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is not working now I have install Chrome. #3015

Closed
harshchokshi opened this issue Jan 13, 2024 · 2 comments
Closed

It is not working now I have install Chrome. #3015

harshchokshi opened this issue Jan 13, 2024 · 2 comments

Comments

@harshchokshi
Copy link

[RemoteTestNG] detected TestNG version 7.4.0
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Starting Microsoft Edge WebDriver 120.0.2210.133 (5a3825c4628d0bef4e9a1ceca8987a524bbd379a) on port 57198
To submit feedback, report a bug, or suggest new features, please visit https://github.com/MicrosoftEdge/EdgeWebDriver

Only local connections are allowed.
Please see https://aka.ms/WebDriverSecurity for suggestions on keeping Microsoft Edge WebDriver safe.

Microsoft Edge WebDriver was started successfully.
Jan 14, 2024 12:05:07 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
Jan 14, 2024 12:05:07 AM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 120, so returning the closest version found: a no-op implementation
Jan 14, 2024 12:05:07 AM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
INFO: Unable to find CDP implementation matching 120.
Jan 14, 2024 12:05:07 AM org.openqa.selenium.chromium.ChromiumDriver lambda$new$3
WARNING: Unable to find version of CDP to use for . You may need to include a dependency on a specific version of the CDP using something similar to org.seleniumhq.selenium:selenium-devtools-v86:4.1.4 where the version ("v86") matches the version of the chromium-based browser you're using and the version number of the artifact is the same as Selenium's.
Starting ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052}) on port 50472
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@harshchokshi
Copy link
Author

@BeforeTest
public void browserlaunch()
{
spark.config().setTheme(Theme.DARK);
spark.config().setDocumentTitle("MyReport");
extent.attachReporter(spark);
//System.setProperty(EdgeDriverService.EDGE_DRIVER_LOG_PROPERTY, "true");
EdgeOptions options = new EdgeOptions();
options.addArguments("--remote-allow-origins=*");
// System.setProperty("webdriver.edge.driver","C:\edgedriver_win64\msedgedriver.exe");
// WebDriverManager.edgedriver().setup();
driver = new EdgeDriver(options);
driver.get("https://www.google.com/");
}

@captainbrosset
Copy link
Contributor

If you have technical issues with Edge WebDriver, please file issues on the corresponding repository here: https://github.com/MicrosoftEdge/EdgeWebDriver

Also note that this repository has adopted the Microsoft code of conduct. Please be respectful and avoid insulting or derogatory comments.

@harshchokshi harshchokshi changed the title Disgusting it is not working now I have install Chrome. Edge is stupid It is not working now I have install Chrome. Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants