Accessing a nested element 3 levels deep using page objects
问题 Using the Page Object model and gem I want to access an element that is nested 3 layers deep. I've successfully accessed nested elements that are 2 elements deep but for 3 the same method isn't working. 3 elements defined in my Page Object: div(:serv_info, :class => "service-info") div(:validate_method, :class => "validate-method") div(:scar_input_group, :class => "input-group") So I tried to chain those 3 elements to access the div class input-container input-left-half round like this: div(