Hello. I try to master selenium, at the moment I managed to make the transition to the site and switch one parameter to another, but with the indication of the value in the input field - no. Here is the main (problem fragment). I work through Firefox. Full error: selenium.common.exceptions.ElementNotInteractableException: Message: Element could not be scrolled into view

b = self.driver.find_element_by_xpath('//input[@class="col span8 input_focus trade_input bg_white"]') self.driver.execute_script("window.scrollTo(0, 300);") time.sleep(10) b.click() b.send_keys('100') 

main HTML fragment:

 <div class="row trade_row"> <label class="col span4 input_label"> <span class="input_label_valign">Количество</span> </label> <input class="col span8 input_focus trade_input bg_white" name="buyAmount" value="0" ng-keyup="recalPriblValues()" autocomplete="off" type="text"> </div> 

    1 answer 1

    Absolutely obvious mistake. I was walking around and around, but the fact is that I did not pay attention to the same name of several classes. Just indicated:

     b[4].click() 

    And it all worked. Maybe someone will be useful