{"id":244,"date":"2022-07-04T23:09:57","date_gmt":"2022-07-04T14:09:57","guid":{"rendered":"https:\/\/www.bees-team.com\/?p=244"},"modified":"2022-07-09T18:20:48","modified_gmt":"2022-07-09T09:20:48","slug":"python-selenium-chrome","status":"publish","type":"post","link":"https:\/\/www.bees-team.com\/?p=244","title":{"rendered":"Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome"},"content":{"rendered":"<div class=\"post-content\"><div class='booster-block booster-read-block'>\n                <div class=\"twp-read-time\">\n                \t<i class=\"booster-icon twp-clock\"><\/i> <span>Read Time:<\/span>2 Minute, 21 Second                <\/div>\n\n            <\/div><h2>M\u1ee5c l\u1ee5c<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.bees-team.com\/?p=244#ta-toc-1\">Install Selenium package.<\/a><\/li>\n<li><a href=\"https:\/\/www.bees-team.com\/?p=244#ta-toc-2\">Download Chrome Driver.<\/a><\/li>\n<li><a href=\"https:\/\/www.bees-team.com\/?p=244#ta-toc-3\">M\u1edf trang login c\u1ee7a facebook.<\/a><\/li>\n<li><a href=\"https:\/\/www.bees-team.com\/?p=244#ta-toc-4\">X\u1eed l\u00fd login.<\/a><\/li>\n<li><a href=\"https:\/\/www.bees-team.com\/?p=244#ta-toc-5\">\u0110o\u1ea1n code ho\u00e0n ch\u1ec9nh.<\/a><\/li>\n<li><a href=\"https:\/\/www.bees-team.com\/?p=244#ta-toc-6\">Video h\u01b0\u1edbng d\u1eabn t\u1eebng b\u01b0\u1edbc c\u1ee5 th\u1ec3.<\/a><\/li>\n<\/ul>\n<div class=\"code-block code-block-1\"><\/div>\n<div class=\"voice\">\n<div class=\"voice-text-left\">\n<h2><span id=\"ta-toc-1\">Install Selenium package<\/span><\/h2>\n<\/div>\n<\/div>\n<p>H\u1ec7 \u0111i\u1ec1u h\u00e0nh Mac ,Windows ho\u1eb7c l\u00e0 linux ta \u0111\u1ec1u c\u00f3 th\u1ec3 install b\u1eb1ng command.<\/p>\n<pre>pip install selenium<\/pre>\n<h2><span id=\"ta-toc-2\">Download Chrome Driver.<\/span><\/h2>\n<p>Download Chorme Driver <a href=\"https:\/\/chromedriver.chromium.org\/downloads\">\u1edf \u0111\u00e2y<\/a>. Tuy nhi\u00ean khi download chung ph\u1ea3i ch\u1ecdn version th\u00edch h\u1ee3p v\u1edbi tr\u00ecnh duy\u1ec7t Chrome \u0111ang c\u00e0i tr\u00ean m\u00e1y c\u1ee7a ch\u00fang ta.<\/p>\n<p>C\u00e1ch xem version c\u1ee7a tr\u00ecnh duy\u1ec7t Chrome<\/p>\n<ol>\n<li>Click v\u00e0o 3 ch\u1ea5m b\u00ean ph\u1ea3i m\u00e0n h\u00ecnh.<\/li>\n<li>Click v\u00e0o item help<\/li>\n<li>Click v\u00e0o About Google Chrome<\/li>\n<\/ol>\n<p>Theo th\u1ee9 t\u1ef1 nh\u01b0 h\u00ecnh b\u00ean d\u01b0\u1edbi.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-259\" src=\"http:\/\/www.bees-team.com\/wp-content\/uploads\/2022\/07\/chrome_version.png\" alt=\"\" width=\"1123\" height=\"561\" \/><\/p>\n<p>Khi \u0111\u00f3 n\u00f3 s\u1ebd hi\u00ean ra m\u00e0n h\u00ecnh nh\u01b0 b\u00ean d\u01b0\u1edbi. V\u00e0 xem version nh\u01b0 trong \u00f4 vu\u00f4ng m\u00e0u \u0111\u1ecf.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-258\" src=\"http:\/\/www.bees-team.com\/wp-content\/uploads\/2022\/07\/chrome_version_screen.png\" alt=\"\" width=\"1782\" height=\"807\" \/><\/p>\n<p>Sau khi download xong ta gi\u1ea3i n\u00e9n v\u00e0 \u0111\u1ec3 v\u00e0o th\u01b0 m\u1ee5c n\u00e0o \u0111\u00f3.<\/p>\n<h2><span id=\"ta-toc-3\">M\u1edf trang login c\u1ee7a Facebook.<\/span><\/h2>\n<p>\u0110\u1ec3 login v\u00e0o Facebook, \u0111\u1ea7u ti\u00ean ta ph\u1ea3i kh\u1edfi \u0111\u1ed9ng \u0111\u01b0\u1ee3c tr\u00ecnh duy\u1ec7t Chrome v\u00e0 sau \u0111\u00f3 l\u00e0 m\u1edf trang ch\u1ee7 c\u1ee7a Facebook \u0111\u1ec3 login.<\/p>\n<pre>    #Link trang ch\u1ee7 c\u1ee7a facebook\r\n    url = \"https:\/\/www.facebook.com\/\"    \r\n    \r\n    #C\u00e0i \u0111\u1eb7t c\u00e1c t\u00f9y ch\u1ecdn cho browser Chrome\r\n    options = webdriver.ChromeOptions()\r\n    options.add_experimental_option(\"prefs\", {\r\n    \"download.default_directory\": r\"C:\\learn_python\\review_data\",\r\n    \"download.prompt_for_download\": False,\r\n    \"download.directory_upgrade\": True,\r\n    \"safebrowsing.enabled\": True})\r\n    \r\n    #Kh\u1edfi \u0111\u1ed9ng Chrome Browser th\u00f4ng qua chrome driver(th\u01b0 m\u1ee5c ta \u0111\u00e3 ch\u1ecdn khi gi\u1ea3i n\u00e9n.)\r\n    driver = webdriver.Chrome(executable_path='c:\/learn_python\/chromedriver.exe', options=options)  #  driver = webdriver.Chrome()\r\n    \r\n    #M\u1edf trang ch\u1ee7 c\u1ee7a facebook\r\n    driver.get(url)\r\n<\/pre>\n<h3>K\u1ebft qu\u1ea3 s\u1ebd nh\u01b0 h\u00ecnh b\u00ean d\u01b0\u1edbi.<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-246\" src=\"http:\/\/www.bees-team.com\/wp-content\/uploads\/2022\/07\/Facebook_login.png\" alt=\"\" width=\"1830\" height=\"940\" \/><\/p>\n<h2><span id=\"ta-toc-4\">X\u1eed l\u00fd login.<\/span><\/h2>\n<pre>    fbID = \"your-email@gmail.com\"\r\n    fbPass = \"your password\"\r\n    #Nh\u1eadp mail or userID\r\n    driver.find_element_by_name(\"email\").send_keys(fbID)\r\n    #Nh\u1eadp password\r\n    driver.find_element_by_name(\"pass\").send_keys(fbPass)\r\n    #Th\u1ef1c thi s\u1ef1 ki\u1ec7n click login button.\r\n    driver.find_element_by_name(\"login\").click()\r\n    time.sleep(2)\r\n<\/pre>\n<p>Ta nh\u1ea5n ph\u00edm F12 xem source code name c\u1ee7a input userid(or mail) v\u00e0 input password nh\u01b0 h\u00ecnh b\u00ean d\u01b0\u1edbi.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-249\" src=\"http:\/\/www.bees-team.com\/wp-content\/uploads\/2022\/07\/facebook_source.png\" alt=\"\" width=\"1914\" height=\"955\" \/><\/p>\n<h2><span id=\"ta-toc-5\">\u0110o\u1ea1n code ho\u00e0n ch\u1ec9nh.<\/span><\/h2>\n<p>Th\u1eed vi\u1ebft m\u1ed9t \u0111o\u1ea1n code Python \u0111\u01a1n gi\u1ea3n \u0111\u1ec3 login v\u00e0o Facebook.<\/p>\n<h3>Source Code<\/h3>\n<pre>from selenium import webdriver\r\n\r\ndef main():\r\n    fbID = \"your-email@gmail.com\"\r\n    fbPass = \"your password\"\r\n\r\n    \r\n    \r\n    url = \"https:\/\/www.facebook.com\/\"    \r\n    \r\n    options = webdriver.ChromeOptions()\r\n    options.add_experimental_option(\"prefs\", {\r\n    \"download.default_directory\": r\"C:\\learn_python\\review_data\",\r\n    \"download.prompt_for_download\": False,\r\n    \"download.directory_upgrade\": True,\r\n    \"safebrowsing.enabled\": True})\r\n\r\n    driver = webdriver.Chrome(executable_path='c:\/learn_python\/chromedriver.exe', options=options)  #  driver = webdriver.Chrome()\r\n    driver.get(url)\r\n    #driver = webdriver.Chrome()\r\n    #driver.get('https:\/\/google.com')\r\n\r\n\r\n    driver.find_element_by_name(\"email\").send_keys(fbID)\r\n    driver.find_element_by_name(\"pass\").send_keys(fbPass)\r\n    driver.find_element_by_name(\"login\").click()\r\n    time.sleep(2)\r\n\r\nif __name__ == \"__main__\":\r\n    main()\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h2><span id=\"ta-toc-6\">Video h\u01b0\u1edbng d\u1eabn t\u1eebng b\u01b0\u1edbc c\u1ee5 th\u1ec3.<\/span><\/h2>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/6H8sds4GYrE\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n        <div class=\"booster-block booster-reactions-block\">\n            <div class=\"twp-reactions-icons\">\n                \n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-1\" post-id=\"244\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/www.bees-team.com\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/happy.svg\" alt=\"Happy\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">\n                        Happy                    <\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">3<\/span>\n                        \n                                                <span class=\"twp-react-percent\"><span>100<\/span> %<\/span>\n                                            <\/div>\n                <\/div>\n\n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-2\" post-id=\"244\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/www.bees-team.com\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/sad.svg\" alt=\"Sad\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">\n                        Sad                    <\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">0<\/span>\n                                                                        <span class=\"twp-react-percent\"><span>0<\/span> %<\/span>\n                                            <\/div>\n                <\/div>\n\n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-3\" post-id=\"244\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/www.bees-team.com\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/excited.svg\" alt=\"Excited\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">\n                        Excited                    <\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">0<\/span>\n                                                                        <span class=\"twp-react-percent\"><span>0<\/span> %<\/span>\n                                            <\/div>\n                <\/div>\n\n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-6\" post-id=\"244\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/www.bees-team.com\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/sleepy.svg\" alt=\"Sleepy\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">\n                        Sleepy                    <\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">0<\/span>\n                        \n                                                <span class=\"twp-react-percent\"><span>0<\/span> %<\/span>\n                                            <\/div>\n                <\/div>\n\n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-4\" post-id=\"244\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/www.bees-team.com\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/angry.svg\" alt=\"Angry\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">Angry<\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">0<\/span>\n                                                                        <span class=\"twp-react-percent\"><span>0<\/span> %<\/span>\n                        \n                    <\/div>\n                <\/div>\n\n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-5\" post-id=\"244\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/www.bees-team.com\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/surprise.svg\" alt=\"Surprise\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">Surprise<\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">0<\/span>\n                                                                        <span class=\"twp-react-percent\"><span>0<\/span> %<\/span>\n                                            <\/div>\n                <\/div>\n\n            <\/div>\n        <\/div>\n\n    <\/div>","protected":false},"excerpt":{"rendered":"<p>M\u1ee5c l\u1ee5c Install Selenium package. Download Chrome Driver. M\u1edf trang<a href=\"https:\/\/www.bees-team.com\/?p=244\">Read More<i class=\"fa fa-long-arrow-right\" aria-hidden=\"true\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":252,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-244","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-experiment-about-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome - Experiment Log<\/title>\n<meta name=\"description\" content=\"Python + Selenium + Chrome\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome - Experiment Log\" \/>\n<meta property=\"og:description\" content=\"Python + Selenium + Chrome\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bees-team.com\/?p=244\" \/>\n<meta property=\"og:site_name\" content=\"Experiment Log\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-04T14:09:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-09T09:20:48+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.bees-team.com\/wp-content\/uploads\/2022\/07\/selenium-python.png\" \/>\n\t<meta property=\"og:image:width\" content=\"404\" \/>\n\t<meta property=\"og:image:height\" content=\"247\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Bees-Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bees-Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244\"},\"author\":{\"name\":\"Bees-Team\",\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/#\\\/schema\\\/person\\\/974321230684f994b6f3a28aa132b197\"},\"headline\":\"Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome\",\"datePublished\":\"2022-07-04T14:09:57+00:00\",\"dateModified\":\"2022-07-09T09:20:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244\"},\"wordCount\":312,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bees-team.com\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/selenium-python.png\",\"articleSection\":[\"Python Advance\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.bees-team.com\\\/?p=244#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244\",\"url\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244\",\"name\":\"Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome - Experiment Log\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bees-team.com\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/selenium-python.png\",\"datePublished\":\"2022-07-04T14:09:57+00:00\",\"dateModified\":\"2022-07-09T09:20:48+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/#\\\/schema\\\/person\\\/974321230684f994b6f3a28aa132b197\"},\"description\":\"Python + Selenium + Chrome\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bees-team.com\\\/?p=244\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244#primaryimage\",\"url\":\"https:\\\/\\\/www.bees-team.com\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/selenium-python.png\",\"contentUrl\":\"https:\\\/\\\/www.bees-team.com\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/selenium-python.png\",\"width\":404,\"height\":247},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/?p=244#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bees-team.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/#website\",\"url\":\"https:\\\/\\\/www.bees-team.com\\\/\",\"name\":\"Experiment Log\",\"description\":\"Just note what I did\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bees-team.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bees-team.com\\\/#\\\/schema\\\/person\\\/974321230684f994b6f3a28aa132b197\",\"name\":\"Bees-Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/add4cc7534eb8184e1e6e0291e67fde3d200af851c04f17ba570f8c50e71f09f?s=96&d=monsterid&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/add4cc7534eb8184e1e6e0291e67fde3d200af851c04f17ba570f8c50e71f09f?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/add4cc7534eb8184e1e6e0291e67fde3d200af851c04f17ba570f8c50e71f09f?s=96&d=monsterid&r=g\",\"caption\":\"Bees-Team\"},\"sameAs\":[\"https:\\\/\\\/www.bees-team.com\\\/\"],\"url\":\"https:\\\/\\\/www.bees-team.com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome - Experiment Log","description":"Python + Selenium + Chrome","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome - Experiment Log","og_description":"Python + Selenium + Chrome","og_url":"https:\/\/www.bees-team.com\/?p=244","og_site_name":"Experiment Log","article_published_time":"2022-07-04T14:09:57+00:00","article_modified_time":"2022-07-09T09:20:48+00:00","og_image":[{"width":404,"height":247,"url":"http:\/\/www.bees-team.com\/wp-content\/uploads\/2022\/07\/selenium-python.png","type":"image\/png"}],"author":"Bees-Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Bees-Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bees-team.com\/?p=244#article","isPartOf":{"@id":"https:\/\/www.bees-team.com\/?p=244"},"author":{"name":"Bees-Team","@id":"https:\/\/www.bees-team.com\/#\/schema\/person\/974321230684f994b6f3a28aa132b197"},"headline":"Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome","datePublished":"2022-07-04T14:09:57+00:00","dateModified":"2022-07-09T09:20:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bees-team.com\/?p=244"},"wordCount":312,"commentCount":0,"image":{"@id":"https:\/\/www.bees-team.com\/?p=244#primaryimage"},"thumbnailUrl":"https:\/\/www.bees-team.com\/wp-content\/uploads\/2022\/07\/selenium-python.png","articleSection":["Python Advance"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bees-team.com\/?p=244#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bees-team.com\/?p=244","url":"https:\/\/www.bees-team.com\/?p=244","name":"Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome - Experiment Log","isPartOf":{"@id":"https:\/\/www.bees-team.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bees-team.com\/?p=244#primaryimage"},"image":{"@id":"https:\/\/www.bees-team.com\/?p=244#primaryimage"},"thumbnailUrl":"https:\/\/www.bees-team.com\/wp-content\/uploads\/2022\/07\/selenium-python.png","datePublished":"2022-07-04T14:09:57+00:00","dateModified":"2022-07-09T09:20:48+00:00","author":{"@id":"https:\/\/www.bees-team.com\/#\/schema\/person\/974321230684f994b6f3a28aa132b197"},"description":"Python + Selenium + Chrome","breadcrumb":{"@id":"https:\/\/www.bees-team.com\/?p=244#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bees-team.com\/?p=244"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bees-team.com\/?p=244#primaryimage","url":"https:\/\/www.bees-team.com\/wp-content\/uploads\/2022\/07\/selenium-python.png","contentUrl":"https:\/\/www.bees-team.com\/wp-content\/uploads\/2022\/07\/selenium-python.png","width":404,"height":247},{"@type":"BreadcrumbList","@id":"https:\/\/www.bees-team.com\/?p=244#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bees-team.com\/"},{"@type":"ListItem","position":2,"name":"Newbie \u2013 Python \u2013 Selenium: T\u1ef1 \u0111\u1ed9ng login Facebook v\u1edbi tr\u00ecnh duy\u1ec7t Chrome"}]},{"@type":"WebSite","@id":"https:\/\/www.bees-team.com\/#website","url":"https:\/\/www.bees-team.com\/","name":"Experiment Log","description":"Just note what I did","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bees-team.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.bees-team.com\/#\/schema\/person\/974321230684f994b6f3a28aa132b197","name":"Bees-Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/add4cc7534eb8184e1e6e0291e67fde3d200af851c04f17ba570f8c50e71f09f?s=96&d=monsterid&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/add4cc7534eb8184e1e6e0291e67fde3d200af851c04f17ba570f8c50e71f09f?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/add4cc7534eb8184e1e6e0291e67fde3d200af851c04f17ba570f8c50e71f09f?s=96&d=monsterid&r=g","caption":"Bees-Team"},"sameAs":["https:\/\/www.bees-team.com\/"],"url":"https:\/\/www.bees-team.com\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bees-team.com\/index.php?rest_route=\/wp\/v2\/posts\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bees-team.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bees-team.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bees-team.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bees-team.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=244"}],"version-history":[{"count":11,"href":"https:\/\/www.bees-team.com\/index.php?rest_route=\/wp\/v2\/posts\/244\/revisions"}],"predecessor-version":[{"id":264,"href":"https:\/\/www.bees-team.com\/index.php?rest_route=\/wp\/v2\/posts\/244\/revisions\/264"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bees-team.com\/index.php?rest_route=\/wp\/v2\/media\/252"}],"wp:attachment":[{"href":"https:\/\/www.bees-team.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bees-team.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bees-team.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}