Hi,
i tried create TC where i need set download speed for expected result. In developers tools i can switch to “Slow 3G”, but i dont no how same set from code.
can it be set? and if yes, can i set after open browser?
or if must set before open browser, how i can add to my code:
${chrome_options}= Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument --disable-infobars
Call Method ${chrome_options} add_argument --allow-running-insecure-content
Call Method ${chrome_options} add_argument --disable-useautomationextension
Call Method ${chrome_options} add_argument --verbose
Call Method ${chrome_options} add_experimental_option useAutomationExtension ${FALSE}
${excluded} Create List enable-automation
Call Method ${chrome_options} add_experimental_option excludeSwitches ${excluded}
${prefs} Create Dictionary credentials_enable_service=${false}
set to dictionary ${prefs} download.default_directory=${download_folder}
Call Method ${chrome_options} add_experimental_option prefs ${prefs}
Create WebDriver Chrome chrome_options=${chrome_options}
robotframework 5.0
selenium 4.1.3
chromedriver 101