title: Unable to click selenium chromedriver
body: <p>I'm unable to perform click by <code>cssselector</code> or even <code>xpath</code> or even send keys space or enter.</p>
  <p>I think youtube is blocking it. Any help appreciate.</p>
  <p><strong>My Code:</strong></p>
  <pre><code>Public Function OpenVideo(video As String)
      Try
          Form1.UpdateStatus(&quot;Opening video ...&quot;)
          If (Driver Is Nothing) Then
              Return &quot;&quot;
          End If
          _Status = True
          Driver.Navigate().GoToUrl(video)
          'Driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(5)
          'TESTING
  
          ' Driver.SwitchTo.Frame(0)
          Dim element = Driver.FindElementByCssSelector(&quot;#movie_player &gt; div.ytp-chrome-bottom &gt; div.ytp-chrome-controls &gt; div.ytp-left-controls &gt; span:nth-child(2) &gt; button[aria-label='Play (k)'&quot;)
          element.click()
  
  
          ViewsByVideo = 0
          d = DateTime.Now
          If (clockTimer Is Nothing) Then
              Dim autoEvent As New AutoResetEvent(False)
              clockTimer = New Timer(AddressOf ClockFunction, autoEvent, 0, 1000)
          Else
              clockTimer.Change(0, 1000)
          End If
          IsPlaying = True
      Catch ex As Exception
          LogManager.AddLog(ex.Message)
      End Try
      _Status = False
  End Function
  </code></pre>
  <p><strong>If possible</strong> I would like to instead of clicking elements or button, just &quot;HIT SPACE&quot; and this way I can be sure it always press play as space is the same like play.</p>
  <p>Thanks</p>