capybara-webkit/src/CurrentUrl.h

15 lines
292 B
C
Raw Normal View History

#include "SocketCommand.h"
2012-02-05 16:43:48 +00:00
class CurrentUrl : public SocketCommand {
2012-02-05 16:43:48 +00:00
Q_OBJECT
public:
CurrentUrl(WebPageManager *, QStringList &arguments, QObject *parent = 0);
virtual void start();
2012-02-05 16:43:48 +00:00
private:
bool wasRegularLoad();
bool wasRedirectedAndNotModifiedByJavascript();
};