pip install virtualenv
virtualenv venv
Windows:
python -m virtualenv venv -p "C:\Users\rakibul.hasan\AppData\Local\Programs\Python\Python39\python.exe"
(cmd as administrator) powershell Set-ExecutionPolicy RemoteSigned .\venv\Scripts\activate
pip freeze > .\requirements.txt
pip install -r .\requirements.txt
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
def basic_limit_visible(driver, logging):
try:
WebDriverWait(driver, 5).until(
ec.presence_of_element_located(
(By.XPATH, "/html/body/table[3]/tbody/tr/td[3]/form/table[1]/tbody/tr[2]/td[2]"))
)
return True
except Exception as e:
logging.warning('_From-> basic_limit_visible()_ :' + str(e))
return False