+ Reply to Thread
Results 1 to 5 of 5

Getting error message- Run-time error '13'; type mismatch

  1. #1
    Registered User
    Join Date
    09-25-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    88

    Getting error message- Run-time error '13'; type mismatch

    Hi All,
    Using firefox selenium i am trying to click on next page using below code in website. but i am getting error message- Run-time error '13'; type mismatch.
    I am getting error message at Set lis = driver.findElementsByTagName("LI").

    below is the code which i have try.

    Regrads
    upa

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    09-25-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    88

    Re: Getting error message- Run-time error '13'; type mismatch

    bump pls, can somebody help

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Getting error message- Run-time error '13'; type mismatch

    Try declaring lis as object

  4. #4
    Registered User
    Join Date
    09-25-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    88

    Re: Getting error message- Run-time error '13'; type mismatch

    Hi Kyle123,

    Thanks for the reply,

    I have change lis as object now i am getting error - Run-time error '438': Object doesn't support this property or method at While n < lis.Length And nextLi Is Nothing

    Below is the updated code.

    Please Login or Register  to view this content.

  5. #5
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Getting error message- Run-time error '13'; type mismatch

    Then the lis isn't what you think it is. You need to set a break point and see what's actually being returned

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] run time error 13. type mismatch error
    By bqheng in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-19-2017, 10:21 AM
  2. Run-time error 13 Type Mismatch/Error
    By thefinland in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-05-2016, 11:51 AM
  3. [SOLVED] Error Message: Run-time 13, Type Mismatch
    By slabs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2016, 05:21 AM
  4. Run-time error 13: Type Mismatch error
    By mxlew in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2015, 10:06 AM
  5. Type mismatch error- What is the reason behind the error message?
    By Endre111 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-23-2014, 02:03 PM
  6. [SOLVED] run-time error '13' Type Mismatch error
    By Blake 7 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-16-2012, 08:59 AM
  7. Conditional Formatting - Run Time Error '13' Type Mismatch Error
    By ksp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-17-2011, 07:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1