We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More

Forum Discussion

whuang's avatar
whuang
Regular Contributor
5 years ago
Solved

Is TC able to manipulate webpage by using browser developer tool?

Hi there, I have a test that needs to manipulate webpages, just wondering if anyone know whether TC is able to manipulate webpage by using browser developer tool? I tried to use TC to spy the object...
  • AlexKaras's avatar
    AlexKaras
    5 years ago

    Hi,

     

    I think that such activities can be done by either modifying page markup or/and injecting additional page script code. Read this article and consider whether it can help: https://support.smartbear.com/testcomplete/articles/embedding-scripts-into-web-pages/

     

  • whuang's avatar
    whuang
    5 years ago

    Never mind, I sorted it out, should use contentDocument instead