#include <memory>
#include <string>
#include "base/values.h"
#include "chrome/test/chromedriver/chrome/status.h"
#include "chrome/test/chromedriver/chrome/stub_chrome.h"
#include "chrome/test/chromedriver/chrome/stub_web_view.h"
#include "chrome/test/chromedriver/element_commands.h"
#include "chrome/test/chromedriver/session.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/selenium-atoms/atoms.h"
namespace {
class MockChrome : public StubChrome { … };
Command;
Status CallElementCommand(Command command,
StubWebView* web_view,
const std::string& element_id,
const base::Value::Dict& params = { … }
}
namespace {
class MockResponseWebView : public StubWebView { … };
}
TEST(ElementCommandsTest, ExecuteGetElementRect_SizeError) { … }
TEST(ElementCommandsTest, ExecuteSendKeysToElement_NoValue) { … }
TEST(ElementCommandsTest, ExecuteSendKeysToElement_ValueNotAList) { … }