3. Selenium Grid 4 using Docker- Video Recording

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 3

  • @JayachandraMakannavar
    @JayachandraMakannavar 6 місяців тому

    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

    • @TestAutomationwithAtulSharma
      @TestAutomationwithAtulSharma  6 місяців тому

      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());

    • @JayachandraMakannavar
      @JayachandraMakannavar 6 місяців тому

      Hi Atul,
      Thanks for your quick response. The solution you provided works perfectly.
      Thanks again, you truly have strong technical knowledge.😊