mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Implement FrameManager
This patch implements FrameManager which is responsible for maintaining the frame tree. FrameManager is quite basic: it sends FrameAttached, FrameDetached and FrameNavigated events, and can report mainFrame and all frames. The next step would be moving certain Page API's to the Frame. For example, such method as Page.evaluate, Page.navigate and others should be available on Frame object as well. References #4
This commit is contained in:
committed by
Pavel Feldman
parent
a66480a416
commit
175963182e
1
test/assets/frames/script.js
Normal file
1
test/assets/frames/script.js
Normal file
@@ -0,0 +1 @@
|
||||
console.log('Cheers!');
|
||||
Reference in New Issue
Block a user