def selecting state
puts "Selecting State "
puts @utilities.is_element_present("id",get_selector(:address_1)) #returns true
find_element(id: get_selector(:province)).click #open dropdown
sleep 1.5
find_elements(id: "android:id/text1")[0].click . #select first state
sleep 2
puts @utilities.is_element_present("id",get_selector(:address_1))
#returns false
end
There is a city field (drop down) in the address section, after clicking on it a pop up will open in which I can select the city after selecting city I’m not able to select any of the address elements.