Get Source from Frame page....
Posted: Tue Jul 11, 2017 5:52 pm
How to get source from a framed page ...the RetrieveHTML function could just get the mainframe page source .....how to get subframe's page source
I try to use this code
var
Visitor: ICefStringVisitor;
begin
Visitor := TCustomCefStringVisitor.Create(self);
if TargetFrame <> nil then
begin
mmo2.Text := TargetFrame.Name; // <!--framePath //<!--frame0-->-->
TargetFrame.GetSource(Visitor);
end;
end;
but it isn't work at all.
thank you !
I try to use this code
var
Visitor: ICefStringVisitor;
begin
Visitor := TCustomCefStringVisitor.Create(self);
if TargetFrame <> nil then
begin
mmo2.Text := TargetFrame.Name; // <!--framePath //<!--frame0-->-->
TargetFrame.GetSource(Visitor);
end;
end;
but it isn't work at all.
thank you !