I want to automate a Github repository with Python (Selenium)while I use cmd. I got to the last step: 'Create a new repository' on Github, but can't let python click on "Create repository".
Thanks for every help.
I have tried:
searchBar = driver.find_elements_by_css_selector('button.first-in-line').click()
and
searchBar = driver.find_elements_by_css_selector('button.first-in-line').submit()
<button type="submit" class="btn btn-primary first-in-line" data-disable-with="Creating repository…">
Create repository
</button>
I expect that python automatically clicks on the "Create repository" submit button, to finish the new git repository.