I have plane to go your paid plan but before go your paid plan I am checking everything will be perfect for me. getting this error while running my code:
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.) (Driver info: chromedriver=2.42.591071 (0b695ff80972cc1a65a5cd643186d2ae582cd4ac),platform=Linux
5.4.0-1020-aws x86_64)
I used one of your whitelisted domain. I upgraded selenium through your bash shell. Here is my full code :
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from bs4 import BeautifulSoup
import time
option = Options()
driver = webdriver.Chrome('chromedriver',options=option)
for i in range(10):
r = driver.get('https://www.amocrm.com/')
soup = BeautifulSoup(driver.page_source, "lxml")
time.sleep(5)
text = soup.select('.feature__header')[0].text
print(f'text : {text}')
driver.quit()