خرید بک لینک

Vote count: 0

I have a Bootstrap close button:

When it is clicked it is supposed to make the class box disappear which works fine with the mouse cursor. However, no matter how I address it with selenium, it doesn't work (I am using LiveServerTestCase:

element = self.selenium.find_element_by_id("close_tag1")
element.click()
element = self.selenium.find_element_by_id("close_tag2")
element.click()
element = self.selenium.find_element_by_id("close_tag3")
element.click()

The code doesn't break, but it also doesn't close. I tried xpath and css_selector, too, with the same result.

What am I doing wrong?

asked 50 secs ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 2 ارديبهشت 1396 ساعت: 4:48

صفحه بندی