input: from typing import List
  
  def extract_urls_from_webpage(url_of_webpage: str) -> List[str]:
      """Extracts URLs from a specified webpage using BeautifulSoup.
      >>> extract_urls_from_webpage("http://example.com")
      ['http://example.com', '/page1', '/page2']
      """
      
output:     import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url_of_webpage)
      soup = BeautifulSoup(response.text, 'html.parser')
      urls = []
  
      for link in soup.find_all('a'):
          href = link.get('href')
          if href:
              if href.startswith('http'):
                  urls.append(href)
              else:
                  urls.append(url_of_webpage + href)
  
      return urls