You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
1 need help deleting an element in selenium without the class name ; The element i need to delete does not have a class name which makes it difficult
My question is how can I delete and element in selenium if I dont have the ID, name, or class
and I have no idea how to delete it.
can someone help me?
-Griffin
Scott Babcock
unread,
May 11, 2022, 2:30:04 AM5/11/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
Just search by tag name and href. The image is very small, but you can use a CSS selector to match a part of the href value: You can find a link with an href attribute that contains "bundle_mbword.css" with this: By.cssSelector("link[href*='bundle_mbword.css']")