Task: Select Dropdown Options by Index Using Capybara
Task: Select Dropdown Options by Index Using Capybara: a task in Terminal-Lego-15k (Harbor dataset). You are working with a Ruby testing framework that uses Capybara for browser automation. Your task is to create a Capybara helper module that provides reliable methods for selecting dropdown…
The task
You are working with a Ruby testing framework that uses Capybara for browser automation. Your task is to create a Capybara helper module that provides reliable methods for selecting dropdown options by their index position (e.g., select the 2nd, 3rd option) rather than by value.
Part of PrimeIntellect/Terminal-Lego-15k.