Can anyone please tell me if this is still a best practice to launch browser ? Since its 3 year old video just wanted to know if any new technique came ...need to start framework from scratch in one uk based company and wanted to use latest techniques available ....any reply would be appreciable.
Hi Sir, Please clear one of my major doubts please.. If we can read/write data into/from excel file using java logic. What is the need of using Apache POI API.. Why do we have take headache of adding Apache POI jars.
Hey Naveen A big thank you for all the knowledge sharing! I had a question about automating Salesforce Lightning page using Selenium.... Is this something that can be achieved easily or needs some other approach? I tried to inspect the elements using the Chrome inspector however only a few elements are being identified using XPath or other approaches. Could you please help/suggest? Thanks in advance.
Thank you naveen .. for sharing this video with us. Its an extra ordinary invention in selenium which actually ease the System.setProperty issues. I have a question , i tried to implement in simple selenium program, it seems not working . Where as when i implement this in TestNG it is working fine , is there any constraint regarding WebDriverManager???
Hi Naveen, Thanks for this awesome information.Just wondering, if you can help us by creating a video where a test job can run through Jenkins on remote server. How tests will find browsers for running the test which is not available remotely. Can you explain this whole functionality? Thanks in advance!
Hi Naveen Sir, Could you clear one doubt? How can we fetch data from an excel file which is available on web. After clicking on the link of the excel file, the file opens but how to read data from the file? Since we don't have the path to the excel file.. Please let me know sir.. I have been struggling to do that.. ❤️ Thanks in advance
Hi naveen. It is very useful information thank you for the video. I have question how to execute testNG script in Jenkins in docker(test server). Please reply
Hi naveen i am using latest selenium and webdrivermanager dependency but i am unable to launch browser i am getting timed out waiting for driver server to start. Please suggest
Hi great vedio Naveen sir, I have one query, How to use this in grid and where to start hub and how to register node? Can you please clear this dought..
Naveen getting following error for Chrome driver :: java.lang.NoSuchMethodError: com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter;
Hi Naveen, Kindly update a video or provide link for IE11 version with Webdriver Manager with TestNG with desired capabilities It will help Thanks in advance.
Hi sir. Recently in my new laptop i got this problem. The problem is whenever i'm trying to launch google chrome browser then my browser got stuck for few seconds and in the console i got this error "[1565061587.280][WARNING]: Timed out connecting to Chrome, retrying..." . I was trying to fix this error from a month ago but not able to fix. I checked all compatibility with browser and chrome driver everything is fine just the problem occur in my laptop. I've tried with WebDriverManager also but still getting the same issue. Can you please help me out. This will be really very helpful for me. Thanks!
Hi Naveen, I have found an issue in this, Once the browser has instantiated there is a background process is running and not being closed/quit after the Test case/suit run. Is there any way to kill that process after the execution
Hi Naveen, Thanks for this informative video. I tried implementing this, but getting below error. Could you please advise what I am missing. org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 91 Current browser version is 90.0.4430.212 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'DESKTOP-BLSD9UV', ip: '192.168.1.169', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2' Driver info: driver.version: ChromeDriver remote stacktrace: Backtrace:
Hi Naveen, Is there any solution like which get exact that supporting chromedriver.exe which is compatible with my installed chrome browser e.g. Now latest chromedriver version is 85.0.4183.38 but for my system lataest updation is 84 version of chrome. so due to this i need add specific version to run my script. Can u pls suggest any solution on it.
Thanks for your video, unfortunately it didn't work for me. I got this error: Caused by: java.lang.ClassNotFoundException: org.apache.http.client.methods.HttpRequestBase. Please help!
Hi Naveen, Thanks for the video and explanation. I am facing some issues when i tried to implement the webdrivermanager into my current selenium framework . I need your help to get resolve the issue i am facing currently.The issue is : FAILED CONFIGURATION: @BeforeClass setUp org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 74 (Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information) Do my chrome is olderversion in my machine. I am using windows 10 OS.
Hi Naveen, I was facing error like: SL4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" SL4J: Defaulting to co-operation (NOP) logger implementation SL4J: See www.slf4j.org/codes.html#StaticLoggerBinder for further details Getting an exception of io.github.bonigracia.wdm.WebDriverManagerException: java.net.UnknownHostException: This is usually a temporary error during hostname resolution and means that the local server didn't receive a response from an authoritative server. Please help Naveen
Hi naveen i am using latest selenium and webdrivermanager dependency but i am unable to launch browser i am getting timed out waiting for driver server to start. Please suggest
Thanks a million for your Immediate response! Awesome Hero:)
A great feature.
Thank you dude..
Can anyone please tell me if this is still a best practice to launch browser ? Since its 3 year old video just wanted to know if any new technique came ...need to start framework from scratch in one uk based company and wanted to use latest techniques available ....any reply would be appreciable.
its still valid and widely used in current companies now. Feel free to use WDM.
@@naveenautomationlabs Thanks a lot
Really WebDriverManager is magic for us
I have used the Webdrivermanager
Awesome video naveen Bhai nice concept for chrome driver issues... Waiting For Appium
th-cam.com/video/4BUeiXJXVMY/w-d-xo.html
@@yushaumeri6292 thanks for reply i saw this channel waiting from this naveen :)
Thank you Naveen
Thank you very much!!
This was a new piece of information for me
Hi Naveen
Thanks Naveen,
How we can set browser headless with webdrivermanager, headless only work with webdriver.. can you please suggest
Does this work only in the Test folder not in the main folder, I have added the dependency but it is not recognizing
It will work for sure.
@@naveenautomationlabs it worked for me Thanks
In Dependency remove which is set as test
I did same then it's working fine.. But i am trying same with TestBase class then facing issue like WebdriverManager can not be resolved.
@Som Prabha Thanks a ton
Great innovation ..Very much useful 😀
Useful, thanks a lot for sharing this information.
Great Info. !! Thanks much. Can it be used with Selenium Grid and for browser Headless mode ?
Yes it can
got the runtime exception as
Hi Sir, Please clear one of my major doubts please.. If we can read/write data into/from excel file using java logic. What is the need of using Apache POI API.. Why do we have take headache of adding Apache POI jars.
Xssf,workbook,sheet,cell all of them which we use in Excel operations are present in POI library
Appreciate your reply sir. But could you be more specific?
Can't we do that using java itself?
Hi Sir, can we use rest assured to test soap..
Hi Naveen, can this concept be used in C sharp as well. If yes, request you to please explain.
Refer this : github.com/rosolko/WebDriverManager.Net
Hey Naveen
A big thank you for all the knowledge sharing!
I had a question about automating Salesforce Lightning page using Selenium.... Is this something that can be achieved easily or needs some other approach?
I tried to inspect the elements using the Chrome inspector however only a few elements are being identified using XPath or other approaches.
Could you please help/suggest?
Thanks in advance.
ohh just waoo, thank you naveen
Thank you naveen .. for sharing this video with us. Its an extra ordinary invention in selenium which actually ease the System.setProperty issues. I have a question , i tried to implement in simple selenium program, it seems not working . Where as when i implement this in TestNG it is working fine , is there any constraint regarding WebDriverManager???
No it should work
Hi Naveen, Thanks for this awesome information.Just wondering, if you can help us by creating a video where a test job can run through Jenkins on remote server. How tests will find browsers for running the test which is not available remotely. Can you explain this whole functionality? Thanks in advance!
Awesome Explanation... Keep up the great work 👏👏💐💐😍😍😍
For me it did not launch any browsers.. It says connection socket with timeout 30 seconds..
Hi Naveen Sir, Could you clear one doubt? How can we fetch data from an excel file which is available on web. After clicking on the link of the excel file, the file opens but how to read data from the file? Since we don't have the path to the excel file.. Please let me know sir.. I have been struggling to do that.. ❤️ Thanks in advance
Please anybody, reply to my question. Thanks
Dude. is this working for ordinary java project?
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import io.github.bonigarcia.wdm.WebDriverManager;
public class testChrome {
public static void main(String[] args) {
// TODO Auto-generated method stub
WebDriverManager.firefoxdriver().setup();
WebDriver driver=new FirefoxDriver();
String QVC="www.google.com";
// Launch the URL
driver.get(QVC);
}
}
Remarks: above code is not launching for ordinary java project
HI Naveen, Thanks for info sharing and able to launch other browser expect safari browser. Is there any other API need to be used to launch safari
Hi Naveen,
I want to do the same thing for C# how to launch the browser via c# in selenium. Kindly help me..
What about Safari extension?
Hi Naveen if it's not maven and testing project and simple Java project how to use it?
Add corresponding jars in buid path
Hi naveen. It is very useful information thank you for the video. I have question how to execute testNG script in Jenkins in docker(test server). Please reply
Hi naveen i am using latest selenium and webdrivermanager dependency but i am unable to launch browser i am getting timed out waiting for driver server to start.
Please suggest
Hi Naveen. could u plz make a vdo on creating NUnit framework from scratch?
is there a list for the compatibility between WebDriverManager version vs Browser version (All)?
Hi great vedio Naveen sir,
I have one query, How to use this in grid and where to start hub and how to register node? Can you please clear this dought..
Naveen getting following error for Chrome driver ::
java.lang.NoSuchMethodError: com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter;
Hi Naveen,
Kindly update a video or provide link for IE11 version with Webdriver Manager with TestNG with desired capabilities
It will help
Thanks in advance.
Hi sir. Recently in my new laptop i got this problem. The problem is whenever i'm trying to launch google chrome browser then my browser got stuck for few seconds and in the console i got this error "[1565061587.280][WARNING]: Timed out connecting to Chrome, retrying..." . I was trying to fix this error from a month ago but not able to fix. I checked all compatibility with browser and chrome driver everything is fine just the problem occur in my laptop. I've tried with WebDriverManager also but still getting the same issue. Can you please help me out. This will be really very helpful for me. Thanks!
Excellent video! As always thank you for sharing your knowledge and giving back to the Testing community. I appreciate your hard work and dedication.
I added the Dependency
io.github.bonigarcia
webdrivermanager
3.1.1
test
but it is not working .pls suggest me Is any add something
You need to share whats the error you are getting. No one can assume like this why it's not working.
The error is like that.there was an error managing chrom drivers ( chrome driver.storage.googleapis.com)
Is it reliable to use in my official real time frame work and test execution?
please try to help me
Hi Naveen, I have found an issue in this, Once the browser has instantiated there is a background process is running and not being closed/quit after the Test case/suit run. Is there any way to kill that process after the execution
Hi Naveen, Thanks for this informative video. I tried implementing this, but getting below error. Could you please advise what I am missing.
org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 91
Current browser version is 90.0.4430.212 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'DESKTOP-BLSD9UV', ip: '192.168.1.169', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2'
Driver info: driver.version: ChromeDriver
remote stacktrace: Backtrace:
Hi Naveen, Is there any solution like which get exact that supporting chromedriver.exe which is compatible with my installed chrome browser
e.g.
Now latest chromedriver version is 85.0.4183.38 but for my system lataest updation is 84 version of chrome.
so due to this i need add specific version to run my script.
Can u pls suggest any solution on it.
Thanks for your video, unfortunately it didn't work for me. I got this error: Caused by: java.lang.ClassNotFoundException: org.apache.http.client.methods.HttpRequestBase. Please help!
Hi Naveen, Thanks for the video and explanation. I am facing some issues when i tried to implement the webdrivermanager into my current selenium framework . I need your help to get resolve the issue i am facing currently.The issue is :
FAILED CONFIGURATION: @BeforeClass setUp
org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 74
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)
Do my chrome is olderversion in my machine. I am using windows 10 OS.
Show me ur code
Hi Naveen,
I was facing error like:
SL4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"
SL4J: Defaulting to co-operation (NOP) logger implementation
SL4J: See www.slf4j.org/codes.html#StaticLoggerBinder for further details
Getting an exception of io.github.bonigracia.wdm.WebDriverManagerException: java.net.UnknownHostException: This is usually a temporary error during hostname resolution and means that the local server didn't receive a response from an authoritative server.
Please help Naveen
Haha this is awesome!
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import io.github.bonigarcia.wdm.WebDriverManager;
public class testChrome {
public static void main(String[] args) {
// TODO Auto-generated method stub
WebDriverManager.firefoxdriver().setup();
WebDriver driver=new FirefoxDriver();
String QVC="www.google.com";
// Launch the URL
driver.get(QVC);
}
}
Remarks: It's not working for ordinary java project..
Pls reply for this
Thank u bro 👍👍
Hi naveen i am using latest selenium and webdrivermanager dependency but i am unable to launch browser i am getting timed out waiting for driver server to start.
Please suggest