# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 14:24:07 2021

@author: Sim
"""
from selenium import webdriver
from bs4 import BeautifulSoup

options = webdriver.ChromeOptions()
options.add_argument("headless")
driver = webdriver.Chrome('d:/python/webdrivers/chromedriver.exe',
                           options=options)

htmlsrc1 = '<B>굵게</B>'
soup1 = BeautifulSoup(htmlsrc1, 'html.parser')
lst1 = soup1.select('b')
print(lst1[0].text)
