Python Selenium info
néha a seleniumot is frissíteni kell:
ez volt a hibaüzenet: This version of ChromeDriver only supports Chrome version 114
https://stackoverflow.com/questions/76913935/selenium-common-exceptions-sessionnotcreatedexception-this-version-of-chromedri
pip install -U selenium==4.11.2
https://pypi.org/project/selenium/
Several browsers/drivers are supported (Firefox, Chrome, Internet Explorer), as well as the Remote protocol.
Supported Python Versions
Python 3.7+
https://www.python.org/downloads/windows/
pip install -U selenium
https://sites.google.com/a/chromium.org/chromedriver/home
https://sites.google.com/a/chromium.org/chromedriver/downloads
https://chromedriver.chromium.org/downloads
https://www.selenium.dev/documentation/webdriver/waits/
###################################
#############################################
Change list:
.find_element_by_class_name(
.find_element(By.CLASS_NAME,
.find_element_by_css_selector(
.find_element(By.CSS_SELECTOR,
.find_element_by_id(
.find_element(By.ID,
.find_element_by_link_text(
.find_element(By.LINK_TEXT,
.find_element_by_name(
.find_element(By.NAME,
.find_element_by_partial_link_text(
.find_element(By.PARTIAL_LINK_TEXT,
.find_element_by_tag_name(
.find_element(By.TAG_NAME,
.find_element_by_xpath(
.find_element(By.XPATH,
.find_elements_by_class_name(
.find_elements(By.CLASS_NAME,
.find_elements_by_css_selector(
.find_elements(By.CSS_SELECTOR,
.find_elements_by_id(
.find_elements(By.ID,
.find_elements_by_link_text(
.find_elements(By.LINK_TEXT,
.find_elements_by_name(
.find_elements(By.NAME,
.find_elements_by_partial_link_text(
.find_elements(By.PARTIAL_LINK_TEXT,
.find_elements_by_tag_name(
.find_elements(By.TAG_NAME,
.find_elements_by_xpath(
.find_elements(By.XPATH,
https://stackoverflow.com/questions/72754651/attributeerror-webdriver-object-has-no-attribute-find-element-by-xpath
############################################
AttributeError: ‘WebDriver’ object has no attribute ‘find_element_by_id’
https://bobbyhadz.com/blog/python-attributeerror-webdriver-object-has-no-attribute-find-element-by-id
#########################################
How to deal with certificates using Selenium?
https://stackoverflow.com/questions/24507078/how-to-deal-with-certificates-using-selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument(‘ignore-certificate-errors’)
driver = webdriver.Chrome(chrome_options=options)
###########################################
How to click a link using Selenium?
https://pythonexamples.org/python-selenium-click-a-link/
###########################################
Check if a page is completely loaded or not in Selenium web driver in Python
###########################################
Python Selenium Set Multiple Chrome Preference
https://stackoverflow.com/questions/43347044/python-selenium-set-multiple-chrome-preference
#####################################