Scrapy + Selenium + Datepicker
<p>So i need to scrap a page like <a href="https://www.airbnb.pt/rooms/9315238" rel="nofollow noreferrer">this for example</a> and i am using Scrapy + Seleninum to interact with the <code>datepicker</code> calendar but i am running into a <code>ElementNotVisibleException: Message: Element is not currently visible and so may not be interacted with</code>.</p>

<p>So far i have:</p>

<pre><code>def parse(self, response):

    self.driver.get("https://www.airbnb.pt/rooms/9315238")
    try:
        element = WebDriverWait(self.driver, 10).until(
            EC.presence_of_element_located((By.XPATH, "//input[@name='checkin']"))
        )
    finally:
        x = self.driver.find_element_by_xpath("//input[@name='checkin']").click()
        import ipdb;ipdb.set_trace()
        self.driver.quit()
</code></pre>

<p>I saw some references on how to achieve this <a href="https://stackoverflow.com/a/25748322/977622">https://stackoverflow.com/a/25748322/977622</a> and <a href="https://stackoverflow.com/a/19009256/977622">https://stackoverflow.com/a/19009256/977622</a> . </p>

<p>I appreciate if someone could help me out with my issue or even provide a better example on how i can interact the this datepicker calendar.</p>