0

I need your help to do an action with selenium ide. I want to click on 2nd link

<a class="more_button" href="http://example.com/view/9680-action1.html">Do action </a>

<a class="more_button" href="http://example.com/view/9680-action2.html">Do action </a>

<a class="more_button" href="http://example.com/view/9680-action3.html">Do action </a>

I want to open action 2 using this text as matching text :action2.html

I tried with css a.more_button:contains("action2.html") but I don't know how to edit it .

Jenz
  • 8,280
  • 7
  • 44
  • 77
Android32
  • 21
  • 5

1 Answers1

-1

Using xpath, click on second link:

click | //a[@href='http://example.com/view/9680-action2.html']
German Petrov
  • 1,475
  • 1
  • 17
  • 21