flight-analysis icon indicating copy to clipboard operation
flight-analysis copied to clipboard

Automatic opening of Chrome browser

Open kevin-guimard-ext opened this issue 1 year ago • 1 comments

Hello,

I tried the code, it works. But in the process involves the opening of a Chrome browser and the necessity to click on a button to accept cookies (so, a manual operation). Another issue is the absence of data in the "Price ($)" and "CO2 Emission (kg)" columns.

Regards, Kevin

kevin-guimard-ext avatar Mar 19 '24 16:03 kevin-guimard-ext

I add this before scrapping to solve te probem

driver.get("https://www.google.com/")
driver.add_cookie({"name": "CONSENT", "value": "YES+", "domain": ".google.com", "path": "/"})

but still can't get any scrap

SledgehammerPL avatar Sep 11 '25 19:09 SledgehammerPL