Hi Atul, Thanks for the video, its very informative. could you tell me that how we can execute file upload or download scenarios in docker grid, I am getting error saying file not found and displaying windows file location. I mapped windows location with docker node, still facing issue. Could you tell me how we can map /mount the location properly
Hi Jaychandra, Thanks for your feedback! could you please try & let me know if it works or not: // Set the RemoteWebDriver's file detector to handle file uploads WebDriver driver = new RemoteWebDriver(new URL("your-grid-url:4444/wd/hub"), capabilities); driver.setFileDetector(new LocalFileDetector());
Hi Atul, Thanks for the video, its very informative. could you tell me that how we can execute file upload or download scenarios in docker grid, I am getting error saying file not found and displaying windows file location.
I mapped windows location with docker node, still facing issue.
Could you tell me how we can map /mount the location properly
Hi Jaychandra,
Thanks for your feedback!
could you please try & let me know if it works or not:
// Set the RemoteWebDriver's file detector to handle file uploads
WebDriver driver = new RemoteWebDriver(new URL("your-grid-url:4444/wd/hub"), capabilities);
driver.setFileDetector(new LocalFileDetector());
Hi Atul,
Thanks for your quick response. The solution you provided works perfectly.
Thanks again, you truly have strong technical knowledge.😊