-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I filled in the appropriate fields as instructed by the README for a SPARKLE B580 at the Tustin Micro Center, which is currently out of stock. When I run the code, it immediately states the item is in stock and quits. What could cause this error to happen?
The fields shown below were modified by me as instructed, all else remains the same as the original script.
def set_store_cookie(driver):
# Get the main store page URL so you don't overload the product webpage. Selenium limitation
driver.get("https://www.microcenter.com")
# Wait for the page to load, adjust as needed (seconds)
time.sleep(30)
# Set the storeSelected cookie. Default: 131 (Dallas store)
driver.add_cookie({
'name': 'storeSelected',
'value': '101',
'domain': '.microcenter.com',
'path': '/',
'secure': True,
'httpOnly': False
})
# Get the product page URL
driver.get("https://www.microcenter.com/product/688703/sparkle-intel-arc-b580-titan-overclocked-dual-fan-12b-gddr6-pcie-40-graphics-card")
# Wait for the page to load, adjust as needed (seconds)
time.sleep(30)
daslicious
Metadata
Metadata
Assignees
Labels
No labels