Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How to disable save/open file model in automation mode, with selenium webdriver using java?

  • Không có trả lời
  • 2 gặp vấn đề này
  • 5 lượt xem
more options

I am running test automation scripts written in java, with selenium web driver. I download a file from a page and instantly a model appears asking to open or save the file every time on script execution. Although I have chosen to save the downloaded file in normal mode but that selection doesn't work when browser is launched by automation script. I have attached the screenshot for better understanding. So my question: Is there a way to disable that box for test automation mode, using Firefox options?

I am running test automation scripts written in java, with selenium web driver. I download a file from a page and instantly a model appears asking to open or save the file every time on script execution. Although I have chosen to save the downloaded file in normal mode but that selection doesn't work when browser is launched by automation script. I have attached the screenshot for better understanding. So my question: Is there a way to disable that box for test automation mode, using Firefox options?
Đính kèm ảnh chụp màn hình