Optimize Python Selenium - FlaskAPI
Budget: $30 – $250 USD
This project will modify a python selenium script. You should have a very good understanding of Selenium. The modifications will make the script faster and more reliable. Current script is slow and has a 20% failure rate.
You will update changes via our github repository. Our script is modified to run with FlaskAPI, so you will need to test in that environment. (Knowledge of FlaskAPI not required, but you should know enough not to delete the code required for the FlaskAPI)
You will have to work with the existing code. I will send more details and a flowchart to explain how the code should work, although the code jumps around making it more difficult to understand.
I would include 2-3 hours of your time to get familiar with the existing code.
When looking for elements, we will use the wait until
element = WebDriverWait(driver, 3).until(EC.presence_of_element_located((By.ID, "myDynamicElement"))
But, if the element is not found, it will NOT throw an exception, it will just continue.
So, if the element is not found in 3 seconds, it will continue to next step in the script.
The script will enter data on 12-14 different pages.
At the end of each page, the script will click a “Continue” button. After we click this button, we will check the page for any errors. If errors are found, we will enter all info on that page again. If no errors are found, we will move on to the next page.
You will update changes via our github repository.
Thank You
You will update changes via our github repository. Our script is modified to run with FlaskAPI, so you will need to test in that environment. (Knowledge of FlaskAPI not required, but you should know enough not to delete the code required for the FlaskAPI)
You will have to work with the existing code. I will send more details and a flowchart to explain how the code should work, although the code jumps around making it more difficult to understand.
I would include 2-3 hours of your time to get familiar with the existing code.
When looking for elements, we will use the wait until
element = WebDriverWait(driver, 3).until(EC.presence_of_element_located((By.ID, "myDynamicElement"))
But, if the element is not found, it will NOT throw an exception, it will just continue.
So, if the element is not found in 3 seconds, it will continue to next step in the script.
The script will enter data on 12-14 different pages.
At the end of each page, the script will click a “Continue” button. After we click this button, we will check the page for any errors. If errors are found, we will enter all info on that page again. If no errors are found, we will move on to the next page.
You will update changes via our github repository.
Thank You