So I got to the point where my program fills in the textbox and clicks the proceed with booking button with a submit() command, however in the html there is no url to put in the driver.get([url]) method to move my driver to the next page. All subsequent methods called on driver are on the “Proceed with booking” page instead
Tag: css
How to connect 2 forms in HTML and Django?
I am creating a web page and i’m wondering if i could make sure that the data on the left is filled before pressing the blue button. On the left you can see a form to pay by entering your address, city etc. but on the right you can see another form with stripe implemented to pay with credit card.
How to adjust row height with pandas Styler
I have a styled pandas DataFrame that I want to export to HTML with smaller rows than default. I don’t know much about CSS so I haven’t found a way to make it work so far. Can it be achieved and if so, how? Answer Set the styles for row and data cell line height and reset the padding
Django – issue with loading css
I’ve recently started learning Django and I’ve been having a lot of issues with implementing css into my code. I’ve found a lot of people with the same issue as me but I am still unable to find an answer. Currently when I run open the website it give me this https://imgur.com/a/0N23s7b And I’m not sure if this is because
Python regular expression help needed, multiple lines regex
I was trying to scape a link out of a .eml file but somehow I always get “NONE” as return for my search. But I don’t even get the link with the confirm brackets, no problem in getting that valid link once the string is pulled. One problem that I see is, that the string that is found by the
Web Scraping ESPN Data With Selenium
I’m trying to scrape some data off ESPN and run some calculations off the scraped data. Ideally, I will like to iterate through a dataframe, grab the players name with Selenium, send the player’s name into the search box and tell Selenium to click the player’s name. I was able to do this successfully with one player. I’m not quite
Scraping etoro with python
I’m trying to use Selenium to automatically connect to my etoro account and get some figures from my portfolio. I work on Google Colab and from now, here is what I have: However, I have this error message I have tried to change and use find_element_by_class, by_xpath, etc but I couldn’t find how to do it. Could you give me
Flask static file importing issues
I’m trying to write my first webapp with Flask. I learned that to use css in my site, I have to use a static folder, because my css is never gonna change while the site is running (when it is online). So i created it, wrote a bit of css, imported it in my html via this portion of code
How to get text color using Selenium Python
My goal is to get the color of the text from each cell in 1 column table. The HTML for a single cell looks like this: My code to find the text color of each column looks like this: The loop does check the correct cell in each iteration, but the color is always “rgba(0, 0, 0, 1)” which is
How to format dynamically generated HTML with django
I’m trying to create a sheet of labels to print out with a QR code a logo and phone number, the QR codes are generated separately from an xlsx file and they work. My issue is formatting them in the HTML. I’m not sure how to change the for loop so it creates a row for each time an image