Selenium python click on button dont work [closed] - python

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
[] In the photo you can see two buttons SING UP which is where the web opens by default as soon as you load it and the one I want to click LOGIN, the site is full of Java and I know that solving this problem will help me later, hopefully someone can help me, I would appreciate it a million 1

To simply click the a href tag with the LOGIN text.
driver.find_element_by_xpath("a[text()='LOGIN']").click()

Related

how can i create a delete button just as same as notepad? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 days ago.
Improve this question
I know it might be a essay question but I am new in python adn really need your help.
I wanna make delete in Edit menue using Qt textEdit. but working with these type of Data chaing it into Qt text cursor or Qtstring it's a bit difficult. in fact, I wanna select aome text and delet them in my app.
def delet(self):
print('Run delet')
cursor = self.connector.ui.textEdit.textCursor()
textSelected = cursor.selectedText()
str_text = str(textSelected)
I know its not working and didnt gave me a hand.

python flask edit products buttons [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 days ago.
Improve this question
I'm making a code in python with flask that deals with registering products, and I'm using buttons that allow me to edit and delete the product, I can't get it to edit the product every time I try, it doesn't give me an error but it doesn't get edited, I do not know how to fix it
I checked the query to mysql but it's not that, and I've been checking for a long time and I don't know what it is
I am using html, python, js

How to show python output on webpage using html [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
Helo,
I am a newbie ;
I know I can use <p>
This is for showing a text on the webpage using HTML but
I have a file name my.py
And it have a code
print("Helo");
So now I have to show this helo on the screen so how can I do that 🙂
You can follow this Tutorial to create a basic web server that will display any HTML you want if that's what you're looking for.

How can I click on the link here with using id.class.href python selenium, I using pyCharm [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
How can I click on the link here with using id.class.href python selenium, I using pyCharm *href is Changeable
i try
driver.find_element_by_xpath("//div[#id='result_26']//a[#class='a-link-normal s-access-detail-page s-color-twister-title-link a-text-normal']/#href").click()
enter image description here
You are clicking the href attribute instead of the <a> tag.
Assuming your xpath is correct, just remove the /#href from the end and it should ideally work.

How to navigate a webpage with python [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I was made a python script for bruteforce (pen test) but before the bruteforce start, I need to go through some links clicking and login, so I want to do those stuff with python. Basically when I start that script it should login and click some links then start the bruteforce.
so, is there any way I can make my python script to do those basic stuff for me?
You might want to check these:
mechanize
Selenium
Spidermonkey
webkit
These tools will help you to emulate browser via script.

Categories