SOLVED Selenium: Console js code works but not python -> TypeError: document.getElementById(…) null error clicking on element within iframe

My Selenium code logs into a website, then reaches a page with a button that exists within an iframe. Inspecting the element in chrome and using the console of the browser, I found the iframe: iframe = document.getElementById(“deputy-app-view1045”) Then I found the element and am able to click it: iframe.contentWindow.document.getElementById(“csv_download”).click() In my python code, I…

Details

Multiple checkboxes into database form

I have problem adding multiple checkboxes into database that already has other types of forms. When I submit my form only 1 checkbox is uploaded into my db, regardless of how much I have selected. There is my form code: <form action=”mywebsite/#ankieta<–this works” class=”needs-validation” novalidate=”” method=”post”> <div class=”row”> <div class=”col-md-6 mb-3″> <label for=”firstName”>Jaki termin Ciebie…

Details

cant install pip package

I am trying to make my own python3 pip package. I uploaded it online with twine from my command line, and I can see it online here: https://pypi.org/project/example-pkg-martinbarker-test/ I am following this tutorial exactly, (except for changing the package name), but if I try to install the package with the instruction from the url: pip…

Details