lakshyabatman / Bulk-uploader-NFT

Bulk NFT uploader to OpenSea!
25 stars 17 forks source link

Select Polygon chain instead of Ethereum #4

Closed VishnuPJ closed 2 years ago

VishnuPJ commented 2 years ago

How can I select Polygon chain, since this selects Ethereum by default.

VishnuPJ commented 2 years ago

I have figured it out,

blockchain_button = driver.find_element(By.XPATH, '//*[@id="__next"]/div[1]/main/div/div/section/div/form/div[7]/div/div[2]') blockchain_button.click() polygon_button_location = '//span[normalize-space() = "Polygon"]' wait.until(ExpectedConditions.presence_of_element_located((By.XPATH, polygon_button_location))) polygon_button = driver.find_element(By.XPATH, polygon_button_location) polygon_button.click()

rizallk commented 2 years ago

where should i add the code?